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

Hoss Man updated SOLR-6968:
---------------------------
    Attachment: SOLR-6968.patch

Updated patch now includes an "HllOptions" class w/tests for parsing various 
knobs for tunning...

* {{cardinality=true}} and {{cardinality=false}} still supported for basic 
defaults
* can also specify huerstic based {{cardinality=N}} where N is a number between 
0.0 and 1.0 inclusive indicating how much accuracy you care about
** 0 == minimum accuracy, conserve as much ram as possible
** 1.0 == maximum accuracy, spend as much ram as possible
** {{cardinality=true}} roughly the same as {{cardinality=0.33}}
* additional advanced local params for overriding the hueristic based on a 
knowledge of HLL:
** {{hllLog2m=N}} (raw int passed to HLL API)
** {{hllRegwidth=N}} (raw int passed to HLL API)
** "hll" param prefix choosen based on implementation details similar to how 
{{percentiles}} supports {{tdigestCompression}}
*** if/when we change the implementation details of how we compute cardinality, 
these can be ignored and new tunning options can be introduced.
* {{hllPreHashed=BOOL}}
** only works with Long based fields (by design)


> add hyperloglog in statscomponent as an approximate count
> ---------------------------------------------------------
>
>                 Key: SOLR-6968
>                 URL: https://issues.apache.org/jira/browse/SOLR-6968
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>         Attachments: SOLR-6968.patch, SOLR-6968.patch, SOLR-6968.patch, 
> SOLR-6968.patch
>
>
> stats component currently supports "calcDistinct" but it's terribly 
> inefficient -- especially in distib mode.
> we should add support for using hyperloglog to compute an approximate count 
> of distinct values (using localparams via SOLR-6349 to control the precision 
> of the approximation)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to