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

unlque and hll functions don't work after first bucket

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: master (7.0)
    • Fix Version/s: master (7.0)
    • Component/s: Facet Module
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Unless you are sorting by the function, hll and unique fail to work after the first bucket. I think this only affects unreleased master (7.0-dev) since it looks to have been caused by LUCENE-7407

      1. SOLR-10596.patch
        11 kB
        Yonik Seeley

        Issue Links

          Activity

          Hide
          yseeley@gmail.com Yonik Seeley added a comment -

          Here's a patch that grabs fresh DocValues instances (since they can no longer be reused) in the reset method.

          I'll audit the rest of the aggregations to make sure there aren't others that need a fix.

          Show
          yseeley@gmail.com Yonik Seeley added a comment - Here's a patch that grabs fresh DocValues instances (since they can no longer be reused) in the reset method. I'll audit the rest of the aggregations to make sure there aren't others that need a fix.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 3a7aedcef9a6c9f854508629759bcb9b766d2b08 in lucene-solr's branch refs/heads/master from Yonik Seeley
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3a7aedc ]

          SOLR-10596: fix unique/hll docvalue iterator reuse

          Show
          jira-bot ASF subversion and git services added a comment - Commit 3a7aedcef9a6c9f854508629759bcb9b766d2b08 in lucene-solr's branch refs/heads/master from Yonik Seeley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3a7aedc ] SOLR-10596 : fix unique/hll docvalue iterator reuse
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 3546fc3f5826526ca1ca82086732d7a0ab0c1076 in lucene-solr's branch refs/heads/branch_6x from Yonik Seeley
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3546fc3 ]

          SOLR-10596: fix unique/hll docvalue iterator reuse

          Show
          jira-bot ASF subversion and git services added a comment - Commit 3546fc3f5826526ca1ca82086732d7a0ab0c1076 in lucene-solr's branch refs/heads/branch_6x from Yonik Seeley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3546fc3 ] SOLR-10596 : fix unique/hll docvalue iterator reuse

            People

            • Assignee:
              yseeley@gmail.com Yonik Seeley
              Reporter:
              yseeley@gmail.com Yonik Seeley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development