Re: stats, extended stats, percentiles for doc_count in aggregations

2014-10-15 Thread Raz Lachyani
Hi Loren,

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?


 On Fri, May 2, 2014 at 8:56 AM, Loren lo...@siebert.org 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.
  
 -- 
 You received this message because you are subscribed to the Google 
 Groups elasticsearch group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to elasticsearc...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/8f847621-e92c-4bdf-915f-60bd799071ee%40googlegroups.com
  
 https://groups.google.com/d/msgid/elasticsearch/8f847621-e92c-4bdf-915f-60bd799071ee%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




 -- 
 Adrien Grand
  


-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/efb12592-0c59-466e-83c1-bd92ba43dfa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


stats, extended stats, percentiles for doc_count in aggregations

2014-05-02 Thread Loren
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.

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/8f847621-e92c-4bdf-915f-60bd799071ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: stats, extended stats, percentiles for doc_count in aggregations

2014-05-02 Thread Adrien Grand
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 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.

 --
 You received this message because you are subscribed to the Google Groups
 elasticsearch group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to elasticsearch+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/elasticsearch/8f847621-e92c-4bdf-915f-60bd799071ee%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/8f847621-e92c-4bdf-915f-60bd799071ee%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 
Adrien Grand

-- 
You received this message because you are subscribed to the Google Groups 
elasticsearch group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5nYVvcxUPAtH06Sbw7oayGPNF6x%2BLEkKmWkwtgHqqLKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.