# ElasticSearch version 5.0.1 changes

**URL:** <https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788>\
**Category:** Elasticsearch\
**Created:** [December 22, 2016, 12:30pm UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788 "2016-12-22T12:30:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![raj.shah1593](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@raj.shah1593](https://discuss.elastic.co/u/raj.shah1593)\
**Post date:** [December 22, 2016, 12:30pm UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/1 "2016-12-22T12:30:55Z")

</div>

I was previously using ElasticSearch v2.4.0.

When I use ElasticSearch v5.0.1 for the same number of records, the size of index increases by around 30-40%, when viewed in cat/indices.  
Is there any specific upgrade in the latest version that may be causing this?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 27, 2016, 8:56am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/2 "2016-12-27T08:56:13Z")

</div>

Doc values are enabled by default, so it'll depend on your mappings.

---

<div class="post-metadata">

**Author:** ![raj.shah1593](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@raj.shah1593](https://discuss.elastic.co/u/raj.shah1593)\
**Post date:** [December 29, 2016, 5:41am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/3 "2016-12-29T05:41:37Z")

</div>

Hello @warkolm,

The doc values are enabled and the mappings are the same in both versions.  
Still, the index size is greater in v5.0.1 by around 30-40%.

Any other reason that you might be aware of?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2016, 5:42am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/4 "2016-12-29T05:42:36Z")

</div>

Is it the exact same dataset?

---

<div class="post-metadata">

**Author:** ![raj.shah1593](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@raj.shah1593](https://discuss.elastic.co/u/raj.shah1593)\
**Post date:** [December 29, 2016, 5:45am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/5 "2016-12-29T05:45:35Z")

</div>

Yes it is.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2016, 5:46am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/6 "2016-12-29T05:46:01Z")

</div>

Do you have deleted docs? Have you tried a force merge?

---

<div class="post-metadata">

**Author:** ![raj.shah1593](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@raj.shah1593](https://discuss.elastic.co/u/raj.shah1593)\
**Post date:** [December 29, 2016, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/7 "2016-12-29T05:51:32Z")

</div>

There are no deleted docs. The index is completely new.

And how will force merge be useful? I have only one index.

---

<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:** [January 26, 2017, 5:51am UTC](https://discuss.elastic.co/t/elasticsearch-version-5-0-1-changes/69788/8 "2017-01-26T05:51:37Z")

</div>

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