Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9868

RangeFacet : Use DocValues for accs and docSet collection instead of RangeQuery

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.0
    • 7.0
    • Facet Module
    • 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

          Activity

            People

              Unassigned Unassigned
              rustamhsmv Rustam Hashimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m