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

Use HashDocSet when random access is needed in faceting

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment