# Composite Aggregation pagination size

**URL:** <https://discuss.elastic.co/t/composite-aggregation-pagination-size/200802>\
**Category:** Elasticsearch\
**Created:** [September 24, 2019, 7:01am UTC](https://discuss.elastic.co/t/composite-aggregation-pagination-size/200802 "2019-09-24T07:01:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmeng](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mmeng](https://discuss.elastic.co/u/mmeng)\
**Post date:** [September 24, 2019, 7:01am UTC](https://discuss.elastic.co/t/composite-aggregation-pagination-size/200802/1 "2019-09-24T07:01:55Z")

</div>

I remember some document mentioned the number of buckets returned from a composite aggregation query has a soft limit of 10000. I wonder if that 10000 includes the sub aggregation buckets. Thanks for anyone's help of answering my question.

---

<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:** [October 22, 2019, 7:02am UTC](https://discuss.elastic.co/t/composite-aggregation-pagination-size/200802/2 "2019-10-22T07:02:03Z")

</div>

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