# Allow for disabled sorting on aggregations when request size is unlimited

**URL:** <https://discuss.elastic.co/t/allow-for-disabled-sorting-on-aggregations-when-request-size-is-unlimited/21557>\
**Category:** Elasticsearch\
**Created:** [January 9, 2015, 12:52pm UTC](https://discuss.elastic.co/t/allow-for-disabled-sorting-on-aggregations-when-request-size-is-unlimited/21557 "2015-01-09T12:52:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuck](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@chuck](https://discuss.elastic.co/u/chuck)\
**Post date:** [January 9, 2015, 12:52pm UTC](https://discuss.elastic.co/t/allow-for-disabled-sorting-on-aggregations-when-request-size-is-unlimited/21557/1 "2015-01-09T12:52:27Z")

</div>

In cases where all aggregation results are required, sorting may not be.  
Heavy/large aggregations can be fairly CPU intensive. To improve  
performance, it would be great to have an option to disable sorting of  
results at both the global and shard-local level. Hash maps of results  
would be sufficient.

--  
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/a709a009-e5d5-4a0b-9d8d-c2a02dcee01f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a709a009-e5d5-4a0b-9d8d-c2a02dcee01f%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, 12:39am UTC](https://discuss.elastic.co/t/allow-for-disabled-sorting-on-aggregations-when-request-size-is-unlimited/21557/2 "2017-07-06T00:39:51Z")

</div>


