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

   Lucene's scorers that can dynamically prune on score provide great speedups 
when they manage to skip many hits. Unfortunately, there are also cases when 
they cannot skip hits efficiently, one example case being when there are many 
clauses in the query. In this case, exhaustively evaluating the set of matches 
with `BooleanScorer` (BS1) may perform several times faster.
   
   This commit adds to `MaxScoreBulkScorer` the BS1 optimization that consists 
of collecting hits into a bitset to save the overhead of reordering priority 
queues. This helps make performance degrade much more gracefully when dynamic 
pruning cannot help much.
   
   Closes #12439


-- 
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