Skip to content

Add a BulkScorer for queries that match a dense range#16080

Merged
iverase merged 3 commits into
apache:mainfrom
iverase:RangeBulkScorer
May 18, 2026
Merged

Add a BulkScorer for queries that match a dense range#16080
iverase merged 3 commits into
apache:mainfrom
iverase:RangeBulkScorer

Conversation

@iverase
Copy link
Copy Markdown
Contributor

@iverase iverase commented May 18, 2026

Adding a specialised BulkScorer for queries whose iterator is created using DocIdSetIterator#range. In these case it might be faster to collect documents using LeafCollector#collectRange instead of LeafCollector#collect.

@iverase iverase added this to the 10.5.0 milestone May 18, 2026
Copy link
Copy Markdown
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of nits but no need for another review.

Comment thread lucene/core/src/java/org/apache/lucene/document/RangeBulkScorer.java Outdated
Comment thread lucene/core/src/java/org/apache/lucene/document/RangeBulkScorer.java Outdated
@iverase iverase merged commit ff110e8 into apache:main May 18, 2026
13 checks passed
@iverase iverase deleted the RangeBulkScorer branch May 18, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants