mdmarshmallow opened a new issue, #11869: URL: https://github.com/apache/lucene/issues/11869
### Description We currently have `LongRangeFacetCounts` and `DoubleRangeFacetCounts`, which counts facets based on doc values points that fall into a given list of range. It would be nice to have a corresponding `RangeOnRangeFacetCounts` that count facets based on indexed ranges (`LongRangeDocValuesField` for example) given a list of ranges. We can let the user supply a `RangeFieldQuery#QueryType` to determine how the range is counted (like in `LongRangeSlowRangeQuery`. I know that currently, the `RangeFacetCounts` pack the provided range into a data structure to enable faster counting, but I think for the first iteration we could probably skip that optimization and just do a simple linear scan. -- 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]
