# Sub-aggregations on child documents

**URL:** <https://discuss.elastic.co/t/sub-aggregations-on-child-documents/17972>\
**Category:** Elasticsearch\
**Created:** [June 7, 2014, 7:51am UTC](https://discuss.elastic.co/t/sub-aggregations-on-child-documents/17972 "2014-06-07T07:51:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suyash\_Verma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suyash_verma/32/1498_2.png) [@Suyash\_Verma](https://discuss.elastic.co/u/Suyash_Verma)\
**Post date:** [June 7, 2014, 7:51am UTC](https://discuss.elastic.co/t/sub-aggregations-on-child-documents/17972/1 "2014-06-07T07:51:26Z")

</div>

The question can be found on StackOverflow here  
[http://stackoverflow.com/questions/24078843/sub-aggregations-for-child-documents-in-elasticsearch](http://stackoverflow.com/questions/24078843/sub-aggregations-for-child-documents-in-elasticsearch),  
but just to repeat myself, any way to get child aggregations with parent  
aggregations or the other way around?

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b67639f3-5285-4149-8675-3070d5869822%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b67639f3-5285-4149-8675-3070d5869822%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:24am UTC](https://discuss.elastic.co/t/sub-aggregations-on-child-documents/17972/2 "2017-07-06T01:24:01Z")

</div>


