Get Aggregate of Parent and Child Doc fields


In my ES query I have to get Aggregates on few of the Parent fields and
two of Child Doc fields. The Child aggregates are to enire data at once
(Not SubAggregates seperately for each Parent).

With the existing ES is it possible?. Or should I have the Child
Aggregate in one query (on the Child docs) and Parent Aggr in other query
seperately (Currently I am able to only do like this).


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
To view this discussion on the web visit
For more options, visit