I'm wondering if the filter aggregation will work for you: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html
However, it does not support parent child, but if you have the children embedded directly inside the parent document, I think it should be similar in functionality to your _msearch solution. BTW, if you are only doing aggregations or counts and don't really need search hits returned, you can further optimize by using the count search type: _search?search_type=count -- 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/262d7ef2-e794-4927-b6d9-cb021fee3b00%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
