Perhaps you could use the Percentile Aggregation?
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-metrics-percentile-aggregation.html
On Sep 30, 2014, at 2:01 AM, Lior Goldemberg wrote:
> hi all,
>
> i'm trying to filter a search by 99 percentile, wh
hi all,
i'm trying to filter a search by 99 percentile, which for now i consider
as outlier.
currently i have 3 phases:
1. get all rows
2. calculate the 99 percentile for each row (by its key)- update the row
with outlier=true or false
3. search again with filter "outlier=false"