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

Use HashDocSet when random access is needed in faceting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None

    Description

      When facet.method=enum and we have a minDf>0 (when we skip the filter cache), we iterate over documents for a term and call baseDocSet.exists(doc). We should ensure that this base doc set is fast for .exists(), so if it's a SortedIntSet, make a HashDocSet to use.

      Attachments

        1. SOLR-1904.patch
          1 kB
          Yonik Seeley

        Activity

          People

            Unassigned Unassigned
            yseeley@gmail.com Yonik Seeley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: