costin opened a new pull request, #16143: URL: https://github.com/apache/lucene/pull/16143
Follow-up based on the comments from #16141. With `ConstantScoreBulkScorer` now in main, this routes the remaining constant-score iterator paths through the shared supplier instead of leaving one-off bulk scorer construction around the codebase. It also makes the batch-collection scorer-positioning rule explicit, which is the contract #16141 had to rely on. The changes are: - Route additional constant-score iterator paths through `ConstantScoreScorerSupplier`. - Preserve two-phase iterator semantics when the supplier falls back to `DefaultBulkScorer`. - Document that `collect(DocIdStream)` and `collectRange()` do not guarantee scorer positioning. - Assert the unsafe iterator-backed scorer case in `AssertingLeafCollector`. - Make `RangeBulkScorer` use a synthetic constant `Scorable` for range batches. -- 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]
