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

   In the case when an index is sorted on a low-cardinality field, or the index 
sort order correlates with the order in which documents get ingested, we can 
optimize `SortedDocIDMerger` by doing a single comparison with the doc ID on 
the next sub. This checks covers at the same time whether the priority queue 
needs reordering and whether the current sub reached `NO_MORE_DOCS`.


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