Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7811

Add concurrent version of SortedSetDocValuesFacetCounts

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Counting up facets should take advantage of concurrent hardware if the index has multiple segments.

      At first I tried to add an optional ExecutorService argument to the existing single-threaded SortedSetDocValuesFacetCounts but it was difficult, so I just made a new class.

      I also internally refactored SortedSetDocValuesFacetCounts to share code between its count and countAll private methods, and switched the FacetsCollector to use DocIdSetBuilder instead of always using a FixedBitSet.

        Attachments

        1. LUCENE-7811.patch
          42 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: