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

   `ReqExclBulkScorer` skips runs of excluded docs via `docIDRunEnd()` only for 
a plain `DocIdSetIterator` excluded clause; a two-phase clause advances one doc 
at a time. This uses `TwoPhaseIterator#docIDRunEnd()` in the two-phase branch 
too — as `DenseConjunctionBulkScorer` already does — clamped to at least `upTo 
+ 1` since its default returns the current doc.
   
   Speeds up filters with a two-phase excluded clause that matches most docs, 
e.g. a doc-values `!= v` query. Covered by the existing randomized 
`TestReqExclBulkScorer#testRandomTwoPhase` (its `RandomTwoPhaseView` overrides 
`docIDRunEnd()`).
   


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