# Es5 is not upgradable from 2.x

**URL:** https://discuss.elastic.co/t/es5-is-not-upgradable-from-2-x/65684
**Category:** Elasticsearch
**Created:** [November 10, 2016, 3:03pm UTC](https://discuss.elastic.co/t/es5-is-not-upgradable-from-2-x/65684 "2016-11-10T15:03:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yeudit](https://avatars.discourse-cdn.com/v4/letter/y/848f3c/32.png) [@yeudit](https://discuss.elastic.co/u/yeudit)
#### Post date: [November 10, 2016, 3:03pm UTC](https://discuss.elastic.co/t/es5-is-not-upgradable-from-2-x/65684/1 "2016-11-10T15:03:06Z")

</div>

Hi,

I ran elasticsearch-migration on es 2.4.0 and got warned about the number of fields i specific index.

does it mean that we cannot upgrade to es5 with current data?

Thanks in advanced.

---

<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: [November 10, 2016, 5:56pm UTC](https://discuss.elastic.co/t/es5-is-not-upgradable-from-2-x/65684/2 "2016-11-10T17:56:34Z")

</div>

You can change the index settings in 5.0 with index.mapping.total\_fields.limit for new indices.  
Old indices should work even if you went over the default limit.

---

<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: [December 8, 2016, 5:57pm UTC](https://discuss.elastic.co/t/es5-is-not-upgradable-from-2-x/65684/3 "2016-12-08T17:57:10Z")

</div>

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