# Too many terms in ES 5 compared to 1.7

**URL:** <https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941>\
**Category:** Elasticsearch\
**Created:** [March 16, 2017, 11:05pm UTC](https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941 "2017-03-16T23:05:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jae/32/791_2.png) [@Jae](https://discuss.elastic.co/u/Jae)\
**Post date:** [March 16, 2017, 11:05pm UTC](https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941/1 "2017-03-16T23:05:19Z")

</div>

Hello

We're migrating ES 1.7 to ES 5 but somehow index size of ES 5 is bigger than 1.7 by more than 10 times.

Lucene tim file sizes mostly take up the space and I followed all advices from [https://www.elastic.co/guide/en/elasticsearch/reference/5.2/tune-for-disk-usage.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/tune-for-disk-usage.html) but nothing worked.

Do you have any idea?

Thank you

---

<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:** [March 16, 2017, 11:48pm UTC](https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941/2 "2017-03-16T23:48:47Z")

</div>

What is your mapping?

---

<div class="post-metadata">

**Author:** ![Jae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jae/32/791_2.png) [@Jae](https://discuss.elastic.co/u/Jae)\
**Post date:** [March 17, 2017, 6:37am UTC](https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941/3 "2017-03-17T06:37:33Z")

</div>

I found a culprit, geo\_shape is extracting a lot of terms 🙂

---

<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:** [April 14, 2017, 6:37am UTC](https://discuss.elastic.co/t/too-many-terms-in-es-5-compared-to-1-7/78941/4 "2017-04-14T06:37:37Z")

</div>

Closed on April 14, 2017, 6:37am UTC

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