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: 7.0, 6.6
    • 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.

      1. LUCENE-7811.patch
        42 kB
        Michael McCandless

        Activity

        Hide
        mikemccand Michael McCandless added a comment -

        Patch, I think it's ready.

        Show
        mikemccand Michael McCandless added a comment - Patch, I think it's ready.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit de709b122d84d85c510dfad8f35a039c38af62b4 in lucene-solr's branch refs/heads/master from Mike McCandless
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=de709b1 ]

        LUCENE-7811: add concurrent SortedSet facets implementation

        Show
        jira-bot ASF subversion and git services added a comment - Commit de709b122d84d85c510dfad8f35a039c38af62b4 in lucene-solr's branch refs/heads/master from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=de709b1 ] LUCENE-7811 : add concurrent SortedSet facets implementation
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 3e425d39873b6ba6949e1309b7bdb23e42da1004 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3e425d3 ]

        LUCENE-7811: add concurrent SortedSet facets implementation

        Show
        jira-bot ASF subversion and git services added a comment - Commit 3e425d39873b6ba6949e1309b7bdb23e42da1004 in lucene-solr's branch refs/heads/branch_6x from Mike McCandless [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3e425d3 ] LUCENE-7811 : add concurrent SortedSet facets implementation

          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:

              Development