You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Antony Bowesman <ad...@teamware.com> on 2008/01/08 09:11:50 UTC

FieldSortedHitQueue.maxscore

Out of interest, is maxscore supposed to be

a) the max score of the the items inserted to the queue, even though they may 
have dropped out of the final results or
b) the max score of the size items remaining in the queue

Currently it reflects a, but just wondered whether it was correct.

Regards
Antony




---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: FieldSortedHitQueue.maxscore

Posted by Yonik Seeley <yo...@apache.org>.
On Jan 8, 2008 3:11 AM, Antony Bowesman <ad...@teamware.com> wrote:
> Out of interest, is maxscore supposed to be
>
> a) the max score of the the items inserted to the queue, even though they may
> have dropped out of the final results or
> b) the max score of the size items remaining in the queue
>
> Currently it reflects a, but just wondered whether it was correct.

Yes, it's supposed to be a.
It's used (among other things) for score normalization in Hits.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org