Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
7.0
-
None
Description
RangeFacet initiates a range query for each range bucket to get the docSet. DocSet later used for accs collection.
For singleValued numeric fields, we can use docValues to find the matching slots for each doc to collect accumulators while iterating over base docSet. If there is a subFacet, docSet per range bucket can be collected from base docSet as well.
Gains :
- One iteration over base docSet vs querying over baseDocSet for each range bucket
- Memory saving If there is no subFacet, since per bucket docSet is not needed
Attachments
Issue Links
- is duplicated by
-
SOLR-10528 Use docvalue for range faceting in JSON facet API
- Open
- links to