Is it possible to get stats, extended stats, or percentiles across the
doc_counts in each bucket of an aggregation? I see how to use it on an
existing numeric field value (e.g., height, grade), but I want to see the
average bucket size, stddev, or other stats on how one doc_count compares
to doc_counts in the other buckets.
Is it possible to get stats, extended stats, or percentiles across the
doc_counts in each bucket of an aggregation? I see how to use it on an
existing numeric field value (e.g., height, grade), but I want to see the
average bucket size, stddev, or other stats on how one doc_count compares
to doc_counts in the other buckets.
Thanks for the quick reply, Adrien. Yep, I can certainly pull all the
doc_counts down to the client and calculate it all there. I was just hoping
to avoid that.
On Friday, May 2, 2014 12:21:51 AM UTC-7, Adrien Grand wrote:
Hi,
There is currently no way to do that but I think this could be done on
client side?
On Fri, May 2, 2014 at 8:56 AM, Loren <lo...@siebert.org <javascript:>>wrote:
Is it possible to get stats, extended stats, or percentiles across the
doc_counts in each bucket of an aggregation? I see how to use it on an
existing numeric field value (e.g., height, grade), but I want to see the
average bucket size, stddev, or other stats on how one doc_count compares
to doc_counts in the other buckets.
Maybe it is possible to use sum. I think you can try to find field or
create one that when U use sum so its weight is equivalent to the
doc_count.
I haven't tried it yet, its just a thought.
On Friday, May 2, 2014 10:37:08 AM UTC+3, Loren wrote:
Thanks for the quick reply, Adrien. Yep, I can certainly pull all the
doc_counts down to the client and calculate it all there. I was just hoping
to avoid that.
On Friday, May 2, 2014 12:21:51 AM UTC-7, Adrien Grand wrote:
Hi,
There is currently no way to do that but I think this could be done on
client side?
Is it possible to get stats, extended stats, or percentiles across the
doc_counts in each bucket of an aggregation? I see how to use it on an
existing numeric field value (e.g., height, grade), but I want to see the
average bucket size, stddev, or other stats on how one doc_count compares
to doc_counts in the other buckets.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.