jpountz commented on PR #12446:
URL: https://github.com/apache/lucene/pull/12446#issuecomment-1638400035

   As an example, with this PR and calling 
`searcher.setMaxEvaluatedHitRatio(.001f)`, the query `be (+mostly +interview)` 
goes from 7.0ms to 2.7ms while still returning the same top 100 hits.
   
   You typically won't see a speedup if you run pure disjunctions of terms 
because score upper bounds are so good that the rank-safe MAXSCORE logic 
already works extremely well. But if some clauses have less optimal score upper 
bounds, such as above with a conjunction, then you will see speedups.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to