# Composite Aggregation without "size" parameter

**URL:** <https://discuss.elastic.co/t/composite-aggregation-without-size-parameter/195845>\
**Category:** Elasticsearch\
**Created:** [August 20, 2019, 5:12am UTC](https://discuss.elastic.co/t/composite-aggregation-without-size-parameter/195845 "2019-08-20T05:12:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lightning](https://avatars.discourse-cdn.com/v4/letter/l/5f8ce5/32.png) [@lightning](https://discuss.elastic.co/u/lightning)\
**Post date:** [August 20, 2019, 5:12am UTC](https://discuss.elastic.co/t/composite-aggregation-without-size-parameter/195845/1 "2019-08-20T05:12:28Z")

</div>

What exactly will happen if we don't use the "size" parameter when using composite aggregation?  
Will it aggregate all records? if yes, how does this is different compared to terms aggregation?

Thank you for your answer.

Regards,  
Lightning

---

<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:** [September 17, 2019, 5:12am UTC](https://discuss.elastic.co/t/composite-aggregation-without-size-parameter/195845/2 "2019-09-17T05:12:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
