jpountz opened a new pull request, #14401:
URL: https://github.com/apache/lucene/pull/14401
This introduces `LeafCollector#collectRange`, which is typically useful to
take advantage of the pre-aggregated data exposed in `DocValuesSkipper`. At the
moment, `DocValuesSkipper` only exposes per-block min and max values, but we
could easily extend it to record sums and value counts as well.
This `collectRange` method would be called if there are no deletions in the
segment by:
- queries that rewrite to a `MatchAllDocsQuery` (with min=0 and max=maxDoc),
- `PointRangeQuery` on segments that fully match the range (typical for
time-based data),
- doc-value range queries and conjunctions of doc-value range queries on
fields that enable sparse indexing and correlate with the index sort.
--
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]