Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Facet Module
    • Labels:
      None

      Description

      Add an hll function (hyperloglog) alternative to unique() for better estimating cardinality.

      1. SOLR-7553.patch
        38 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

        Thanks to Hoss for figuring out how it all works and integrating it into the stats component. It now should be pretty easy to add support in the new facet analytics module.

        Show
        Yonik Seeley added a comment - Thanks to Hoss for figuring out how it all works and integrating it into the stats component. It now should be pretty easy to add support in the new facet analytics module.
        Hide
        Yonik Seeley added a comment -

        Here's the patch. I added a new "hll" function rather than change the existing "unique" function. It also just uses the same defaults as "stats" does... we can add parameter tweaking later.

        Example:
        json.facet=

        {mycount:"hll(myfield)"}
        Show
        Yonik Seeley added a comment - Here's the patch. I added a new "hll" function rather than change the existing "unique" function. It also just uses the same defaults as "stats" does... we can add parameter tweaking later. Example: json.facet= {mycount:"hll(myfield)"}
        Hide
        ASF subversion and git services added a comment -

        Commit 1679876 from Yonik Seeley in branch 'dev/trunk'
        [ https://svn.apache.org/r1679876 ]

        SOLR-7553: hll function for hyperloglog

        Show
        ASF subversion and git services added a comment - Commit 1679876 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1679876 ] SOLR-7553 : hll function for hyperloglog
        Hide
        ASF subversion and git services added a comment -

        Commit 1679877 from Yonik Seeley in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1679877 ]

        SOLR-7553: hll function for hyperloglog

        Show
        ASF subversion and git services added a comment - Commit 1679877 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1679877 ] SOLR-7553 : hll function for hyperloglog
        Hide
        ASF subversion and git services added a comment -

        Commit 1679897 from Yonik Seeley in branch 'dev/trunk'
        [ https://svn.apache.org/r1679897 ]

        SOLR-7553: tests - fix QueryEqualityTest

        Show
        ASF subversion and git services added a comment - Commit 1679897 from Yonik Seeley in branch 'dev/trunk' [ https://svn.apache.org/r1679897 ] SOLR-7553 : tests - fix QueryEqualityTest
        Hide
        ASF subversion and git services added a comment -

        Commit 1679898 from Yonik Seeley in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1679898 ]

        SOLR-7553: tests - fix QueryEqualityTest

        Show
        ASF subversion and git services added a comment - Commit 1679898 from Yonik Seeley in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1679898 ] SOLR-7553 : tests - fix QueryEqualityTest
        Hide
        Anshum Gupta added a comment -

        Bulk close for 5.2.0.

        Show
        Anshum Gupta added a comment - Bulk close for 5.2.0.

          People

          • Assignee:
            Yonik Seeley
            Reporter:
            Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development