lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6350) Percentiles in StatsComponent
Date Sat, 09 Aug 2014 01:20:13 GMT

    [ 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


Mime
View raw message