# How to upgrade to 2.0 if meta-fields exist in mapping?

**URL:** <https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267>\
**Category:** Elasticsearch\
**Created:** [November 10, 2015, 5:10pm UTC](https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267 "2015-11-10T17:10:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![comdiv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/comdiv/32/44902_2.png) [@comdiv](https://discuss.elastic.co/u/comdiv)\
**Post date:** [November 10, 2015, 5:10pm UTC](https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267/1 "2015-11-10T17:10:45Z")

</div>

We see that it's possible with reindexing data with moving from 1.7 to 2.0 instance. But it sees not very efficient. How to upgrade to 2.0 efficiently if we already have indexes that stores \_id and \_version?

---

<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:** [November 11, 2015, 6:37am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267/2 "2015-11-11T06:37:15Z")

</div>

You need to reindex unfortunately.

---

<div class="post-metadata">

**Author:** ![comdiv](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/comdiv/32/44902_2.png) [@comdiv](https://discuss.elastic.co/u/comdiv)\
**Post date:** [November 11, 2015, 7:34am UTC](https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267/3 "2015-11-11T07:34:44Z")

</div>

So sad...  
2.0 full of breaking changes, so migration on it is not simple for projects that uses ES for at least year...  
While it's not good we see that we should stay on 1.7 for some meaning time...

---

<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 5, 2017, 11:39pm UTC](https://discuss.elastic.co/t/how-to-upgrade-to-2-0-if-meta-fields-exist-in-mapping/34267/4 "2017-07-05T23:39:18Z")

</div>


