martijnvg opened a new pull request, #16163:
URL: https://github.com/apache/lucene/pull/16163
When a top value is set (search_after), the competitive bound is already
known at the start of segment evaluation, so there is no reason to wait for
hitsThresholdReached before building the SkipBlockRangeIterator. The first
guard in updateCompetitiveIterator() now returns early only when both
hitsThresholdReached and leafTopSet are false, enabling block-level skipping
from the very first document when using search_after with indexed doc values
fields.
--
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]