# Elastic-Search upgrade from 5.3 to 7.7

**URL:** <https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121>\
**Category:** Elasticsearch\
**Created:** [June 8, 2020, 5:38am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121 "2020-06-08T05:38:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![het](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@het](https://discuss.elastic.co/u/het)\
**Post date:** [June 8, 2020, 5:38am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/1 "2020-06-08T05:38:47Z")

</div>

Hey team,

I am using elastic-search 5.3. I wanted to upgrade it to the latest ES version say 7.7. Which is the best way to upgrade from 5.3 to 7.X with the minimum number of downtime or minimum time required?

I have a cluster of 11 nodes including 3 master nodes and 8 data nodes. My index data size is approx. 1.8 TB. I am using the Elastic-Search mapping type also. I read that after 5.6 or later, ES removed the concept of mapping type. If I reindex data with the API of ES, will it be taken care of all the things, or I should add something extra?

I have seen a couple of articles for upgrading but did not conclude on that. So can anyone help me with this?

Thanks.

---

<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:** [June 8, 2020, 5:51am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/2 "2020-06-08T05:51:09Z")

</div>

If possible, I'd start a new cluster and use reindex from remote.  
Otherwise you need to

- Upgrade to latest 5.x
- Upgrade to latest 6.8
- Upgrade to 7.7

Note that for each step you need to read the upgrade guide depending on the version.

---

<div class="post-metadata">

**Author:** ![het](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@het](https://discuss.elastic.co/u/het)\
**Post date:** [June 8, 2020, 6:09am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/3 "2020-06-08T06:09:47Z")

</div>

Hey @dadoonet,

Thanks for the reply.

Can you explain what does reindex from remote means?

Also, How will I reindex the indexing type? My current indexing structure

```
IndexName -- MappingType -- Mapping
ABC -- Car -- { "created_on": {"type":"date"}}
ABC -- MoterCyle -- { "created_on": {"type":"date"}}

```

How this will be taken care in ES 7.X version?

---

<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:** [June 9, 2020, 9:46am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/4 "2020-06-09T09:46:20Z")

</div>

> [@het](#):
>
> Can you explain what does reindex from remote means?

This: [Reindex from a remote cluster | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade-remote.html)

> [@het](#):
>
> Also, How will I reindex the indexing type? My current indexing structure
> 
> ```auto
> IndexName -- MappingType -- Mapping
> ABC -- Car -- { "created_on": {"type":"date"}}
> ABC -- MoterCyle -- { "created_on": {"type":"date"}}
> 
> ```
> 
> How this will be taken care in ES 7.X version?

You need to read [Removal of mapping types in Elasticsearch 6.0 | Elastic Blog](https://www.elastic.co/fr/blog/removal-of-mapping-types-elasticsearch) to decide what will be the strategy for you.

---

<div class="post-metadata">

**Author:** ![het](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@het](https://discuss.elastic.co/u/het)\
**Post date:** [June 12, 2020, 5:04am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/5 "2020-06-12T05:04:51Z")

</div>

Thanks 🙂 !!. Hopefully these will work. If I face any other issue, will create new discussion.

---

<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 10, 2020, 5:04am UTC](https://discuss.elastic.co/t/elastic-search-upgrade-from-5-3-to-7-7/236121/6 "2020-07-10T05:04:53Z")

</div>

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