Or you can make 2 separate aggregations, one for your number crunching, and
another for your global parametrics. Something like this conceptually:
{
"aggs": {
"metrics": {
#all your standard metrics aggs here, all filtered by your query
},
"parametrics": {
"global": {} #global means don't filter by query criteria
# all your parametrics aggs here
}
}
}
--
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/43450dd0-7f3d-4746-b578-8a281d59995f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.