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

Optimize DocValuesFacets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.7, 6.0
    • None
    • None

    Description

      This works well in the general case (esp with huge numbers of unique values), but the SortedSetDocValuesAccumulator in lucene/facets does the algorithm better for typical cases (smaller number of unique values wrt the size of the document set).

      In this case, it collects directly with per-segment local ords, then remaps as a second step. So this is a lot less remapping.

      Its too bad the code is separate at the moment, for now lets steal the heuristic.

      Attachments

        1. SOLR-5512.patch
          7 kB
          Robert Muir

        Activity

          People

            Unassigned Unassigned
            rcmuir Robert Muir
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: