jpountz opened a new pull request #627:
URL: https://github.com/apache/lucene/pull/627


   Currently the contract on `bound` is that it holds the score of the top of 
the
   `results` priority queue. It means that a candidate is only considered if its
   score is better than the bound *or* if less than `topK` results have been
   accumulated so far. I think it would be simpler if `bound` would always hold
   the minimum score that is required for a candidate to be considered? This 
would
   also be more consistent with how our WAND support works, by trusting
   `setMinCompetitiveScore` alone, instead of having to check whether the 
priority
   queue is full as well.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to