You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2014/08/09 03:20:13 UTC

[jira] [Commented] (SOLR-6350) Percentiles in StatsComponent

    [ https://issues.apache.org/jira/browse/SOLR-6350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091536#comment-14091536 ] 

Hoss Man commented on SOLR-6350:
--------------------------------


Proposed implementation...

* Add Ted Dunnings [t-digest|https://github.com/tdunning/t-digest] as a dependency
* Build up an [ArrayDigets|https://github.com/tdunning/t-digest/blob/master/src/main/java/com/tdunning/math/stats/ArrayDigest.java] in NumericStatsValues.accumulate()
* in distributed mode, each shard should return ArrayDigest.asSmallBytes() base64 encoded - the coordinator node should use ArrayDigest.fromBytes() & AbstractTDigest.add(TDigest) to merge the results
* percentiles should *not* be enabled by default - they really need a param to control which percentiles (if any) should be computed.


> Percentiles in StatsComponent
> -----------------------------
>
>                 Key: SOLR-6350
>                 URL: https://issues.apache.org/jira/browse/SOLR-6350
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Hoss Man
>
> Add an option to compute user specified percentiles when computing stats
> Example...
> {noformat}
> stats.field={!percentiles='1,2,98,99,99.999'}price
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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