atris opened a new pull request, #15023: URL: https://github.com/apache/lucene/pull/15023
Implements a query wrapper that prioritizes document ranges based on their scoring potential using Lucene's impact information. The implementation divides the document space into ranges and evaluates each range's maximum possible score using ImpactsEnum data, then processes ranges in descending order of scoring potential. Key features: - Supports range sizes and min and max document bounds. - Uses ImpactsEnum when ScoreMode.TOP_SCORES indicates impacts are available - Falls back to standard scoring when impacts are unavailable - Supports early termination based on competitive scoring thresholds This optimization is particularly beneficial for indices where document clustering (BP-style ordering) groups similar documents with adjacent IDs, allowing efficient skipping of low-scoring document ranges. -- 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