czjxy881 opened a new pull request, #16547: URL: https://github.com/apache/lucene/pull/16547
### Description Prevent `RangeBulkScorer` from passing an empty range to `LeafCollector.collectRange` when it receives an empty scoring window. `ReqExclBulkScorer` uses such windows to obtain the next-match estimate, while `LeafCollector.collectRange` requires `max` to be greater than `min`. Add regression coverage for an empty scoring window inside the scorer's query interval. Closes #16546. ### Tests - Confirmed the new test fails before the production change. - `./gradlew :lucene:core:test --tests org.apache.lucene.document.TestRangeFilteredBulkScorer --tests org.apache.lucene.search.TestReqExclBulkScorer` - `./gradlew tidy` - `./gradlew :lucene:core:check` (`8677` tests passed, `320` skipped) -- 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]
