slow-J opened a new issue, #16249:
URL: https://github.com/apache/lucene/issues/16249

   ### Description
   
   When I get some spare time, I am planning to take a look into using 
DocValuesSkipper for range facets.
   
   As reference, it is already being used in 
[HistogramCollector.java](https://github.com/apache/lucene/blob/main/lucene/sandbox/src/java/org/apache/lucene/sandbox/facet/plain/histograms/HistogramCollector.java).
   
   Some extra background info I lifted about DocValuesSkipper:
   ```
   the histogram collector bulk-counts whole blocks of docs using the 
doc-values skip index; do the same for range facets. When a dense skip-block's 
value range falls entirely inside one facet range, we can add the block's doc 
count in one shot instead of reading doc values and binary-searching per 
document.
   ```
   
   


-- 
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]

Reply via email to