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/fef0784b-5c62-4952-8c04-2ccaa023af2a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.