# Upgrading my application from ES 5.3 to 7.7

**URL:** <https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527>\
**Category:** Elasticsearch\
**Created:** [August 3, 2020, 9:29am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527 "2020-08-03T09:29:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![taichi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taichi/32/46431_2.png) [@taichi](https://discuss.elastic.co/u/taichi)\
**Post date:** [August 3, 2020, 9:29am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/1 "2020-08-03T09:29:22Z")

</div>

I'm going to ES of my application (it's large) from version 5.3 to 7.7  
I have to fix my application codes, finding difference between the two versions.

Elastic documentation has many `Breaking changes` pages, corresponding to every minor upgrades (not only every major upgrades).

[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/breaking-changes-5.6.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/breaking-changes-5.6.html)  
[https://www.elastic.co/guide/en/elasticsearch/reference/6.8/breaking-changes-6.0.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/breaking-changes-6.0.html)  
[https://www.elastic.co/guide/en/elasticsearch/reference/7.x/breaking-changes-7.3.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/breaking-changes-7.3.html)

So do I have to check **all** the breaking changes pages (5.4, 5.5, ... 7.6, 7.7) and find where to fix in my application?

Or is there more easy way to find all the differences between 5.3 and 7.7?

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [August 3, 2020, 10:52am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/2 "2020-08-03T10:52:47Z")

</div>

Look at deprecation log, an amazing wonder of Elasticsearch - it tells you if you are using things that will go away BUT from v5 to v7 it may not look are enough ahead, so you probably have to fix stuff and get to V6 (ideally 6.8, which has more pre-7 checks) to look at things that need to be fixed to V7.

You have to go 5-\>6-\>7 anyway so that log should help a lot. Also, yes, the breaking changes notes should be reviewed for the areas you use; you might also build a small or tiny test cluster to run the app against for various API checks/tests.

---

<div class="post-metadata">

**Author:** ![taichi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taichi/32/46431_2.png) [@taichi](https://discuss.elastic.co/u/taichi)\
**Post date:** [August 4, 2020, 8:15am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/3 "2020-08-04T08:15:09Z")

</div>

Thank you! It seems there is Deprecations API ([https://www.elastic.co/guide/en/elasticsearch/reference/7.8/migration-api-deprecation.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.8/migration-api-deprecation.html)), but it is not available in 5.x ...

---

<div class="post-metadata">

**Author:** ![taichi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taichi/32/46431_2.png) [@taichi](https://discuss.elastic.co/u/taichi)\
**Post date:** [August 4, 2020, 8:18am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/4 "2020-08-04T08:18:42Z")

</div>

Is deprecation logging available in version 5.x?  
I could not find its documentation in 5.x  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html#deprecation-logging](https://www.elastic.co/guide/en/elasticsearch/reference/current/logging.html#deprecation-logging)

---

<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:** [August 4, 2020, 8:33am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/5 "2020-08-04T08:33:58Z")

</div>

You might be better off running up a new cluster, doing a remote reindex to import the data, point your code to the new cluster and run some tests.

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [August 4, 2020, 11:22am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/6 "2020-08-04T11:22:50Z")

</div>

Seems not available in 5.x; thought it was. Then as Mark says, build test cluster to run against, and read the docs - hopefully your use is simple; biggest thing often the doc types going away.

---

<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:** [September 1, 2020, 11:22am UTC](https://discuss.elastic.co/t/upgrading-my-application-from-es-5-3-to-7-7/243527/7 "2020-09-01T11:22:54Z")

</div>

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