Perfect! Thanks Binh.

---Eric

On Thursday, February 13, 2014 12:18:37 PM UTC-7, Binh Ly wrote:
>
> You should be able to do a stats sub under terms like this:
>
> {
>   "aggs": {
>     "terms": {
>       "terms": {
>         "field": "term_field"
>       },
>       "aggs": {
>         "stats": {
>           "stats": {
>             "field": "stats_field"
>           }
>         }
>       }
>     }
>   }
> }
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c3cfac2f-4002-4762-94d2-aa805fe01674%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to