[ 
https://issues.apache.org/jira/browse/SOLR-7553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-7553:
-------------------------------
    Attachment: SOLR-7553.patch

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)"}



> Add hyperloglog aggregator 
> ---------------------------
>
>                 Key: SOLR-7553
>                 URL: https://issues.apache.org/jira/browse/SOLR-7553
>             Project: Solr
>          Issue Type: Improvement
>          Components: Facet Module
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 5.2
>
>         Attachments: SOLR-7553.patch
>
>
> Add an hll function (hyperloglog) alternative to unique() for better 
> estimating cardinality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to