Ah. It's a bit confusing if the reporting isn't consistent across queries.

thanks Yonik.

-linda

On 4/7/06, Yonik Seeley <[EMAIL PROTECTED]> wrote:
>
> On 4/7/06, Chris Hostetter <[EMAIL PROTECTED]> wrote:
> >
> > it's reproducable using the example data...
> >
>
> Yep, it's not a bug, just how Lucene displays things.
> If the queryWeight is 1.0 (which it will always be for single clause
> queries due to the queryNorm factor), then the fieldWeight is returned
> as the Explanation.
>
> The code is in Lucene in TermWeight:
>
>       if (queryExpl.getValue() == 1.0f)
>         return fieldExpl;
>
> -Yonik
>

Reply via email to