# Terms agregation

**URL:** <https://discuss.elastic.co/t/terms-agregation/228586>\
**Category:** Elasticsearch\
**Created:** [April 17, 2020, 9:30pm UTC](https://discuss.elastic.co/t/terms-agregation/228586 "2020-04-17T21:30:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilhem](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@ilhem](https://discuss.elastic.co/u/ilhem)\
**Post date:** [April 17, 2020, 9:30pm UTC](https://discuss.elastic.co/t/terms-agregation/228586/1 "2020-04-17T21:30:28Z")

</div>

By default, the `terms` aggregation will return the buckets for the top ten terms ordered by the `doc_count` . I want to get buckets for all terms (without setting the `size` parameter)  
is it possible?

---

<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:** [May 15, 2020, 9:30pm UTC](https://discuss.elastic.co/t/terms-agregation/228586/2 "2020-05-15T21:30:44Z")

</div>

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