# Keyword term aggregations much slower after 5.6 -\> 6.2 upgrade

**URL:** <https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180>\
**Category:** Elasticsearch\
**Created:** [April 23, 2018, 8:46pm UTC](https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180 "2018-04-23T20:46:22Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 5, 2018, 10:00am UTC](https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180/7 "2018-05-05T10:00:54Z")

</div>

> Changing the name of the keyword should not affect the query failures, but it did.

Can you reproduce that from scratch and provide a full recreation script as described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem.

> Keyword aggregations are much slower than before (UNSOLVED)

`"size": 1000000` This is bad IMO.

---

_[View the full topic](https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180)._
