# Is aggregation of nested objects affected by properties in parent object?

**URL:** <https://discuss.elastic.co/t/is-aggregation-of-nested-objects-affected-by-properties-in-parent-object/20072>\
**Category:** Elasticsearch\
**Created:** [October 3, 2014, 9:58pm UTC](https://discuss.elastic.co/t/is-aggregation-of-nested-objects-affected-by-properties-in-parent-object/20072 "2014-10-03T21:58:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dragan\_Bosnjak](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@Dragan\_Bosnjak](https://discuss.elastic.co/u/Dragan_Bosnjak)\
**Post date:** [October 3, 2014, 9:58pm UTC](https://discuss.elastic.co/t/is-aggregation-of-nested-objects-affected-by-properties-in-parent-object/20072/1 "2014-10-03T21:58:17Z")

</div>

Will performance of aggregation operations on nested objects be affected by  
properties in parent object?  
In other words, if i add more properties to parent objects (which i don't  
use in aggregation query), will performance drop?

Thanks

--  
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/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [October 3, 2014, 10:17pm UTC](https://discuss.elastic.co/t/is-aggregation-of-nested-objects-affected-by-properties-in-parent-object/20072/2 "2014-10-03T22:17:37Z")

</div>

Hi Dragan,

The fact that there are other properties in the parent object shouldn't  
have any impact on the performance.

On Fri, Oct 3, 2014 at 11:58 PM, Dragan Bošnjak [draganhr@gmail.com](mailto:draganhr@gmail.com) wrote:

> Will performance of aggregation operations on nested objects be affected  
> by properties in parent object?  
> In other words, if i add more properties to parent objects (which i don't  
> use in aggregation query), will performance drop?
> 
> Thanks
> 
> --  
> 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/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/fad5b2fe-6a1e-4c1a-a5a2-06de81d8afaf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Adrien Grand

--  
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/CAL6Z4j4FPgr32DNraY5f6Mr-D-QiJXUe3iLsAgX0oP%3DtF5x4pw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4FPgr32DNraY5f6Mr-D-QiJXUe3iLsAgX0oP%3DtF5x4pw%40mail.gmail.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, 12:58am UTC](https://discuss.elastic.co/t/is-aggregation-of-nested-objects-affected-by-properties-in-parent-object/20072/3 "2017-07-06T00:58:19Z")

</div>

Closed on July 6, 2017, 12:58am UTC


