# Questions about upgrading from 5.6 to 6.x (part 2)

**URL:** https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906
**Category:** Elasticsearch
**Created:** [July 13, 2018, 8:49am UTC](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906 "2018-07-13T08:49:06Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![waynesmallman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/waynesmallman/32/18596_2.png) [@waynesmallman](https://discuss.elastic.co/u/waynesmallman)
#### Post date: [July 13, 2018, 8:49am UTC](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906/1 "2018-07-13T08:49:06Z")

</div>

Please note that this discussion came [at the request of a Elasticsearch personnel, via a conversation on Twitter](https://twitter.com/elastic/status/1017507430526115840), in relation to [a previous discussion regarding an upgrade from 5.6 to 6.x](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x/134372).

So, the question that wasn't answered (at least not so that I understood it) is whether an upgrade from 5.6 to 6.x would affect the index data?

Also, since we need to change the schema (having removed the dependences on the `type` field), would those changes to the schema affect the index data?

---

<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: [July 13, 2018, 10:16am UTC](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906/2 "2018-07-13T10:16:19Z")

</div>

> [@waynesmallman](#):
>
> So, the question that wasn't answered (at least not so that I understood it) is whether an upgrade from 5.6 to 6.x would affect the index data?

It won't, no.

> [@waynesmallman](#):
>
> Also, since we need to change the schema (having removed the dependences on the `type` field), would those changes to the schema affect the index data?

Data created in a 5.X cluster will work in a 6.X cluster.  
If you want to create a new index then you will need to update the mapping (schema).

---

<div class="post-metadata">

### Author: ![waynesmallman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/waynesmallman/32/18596_2.png) [@waynesmallman](https://discuss.elastic.co/u/waynesmallman)
#### Post date: [July 13, 2018, 12:09pm UTC](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906/3 "2018-07-13T12:09:23Z")

</div>

Hi @warkolm, based on this we're going ahead with the upgrades. Drum roll...

I'll respond with the results!

---

<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: [August 10, 2018, 12:09pm UTC](https://discuss.elastic.co/t/questions-about-upgrading-from-5-6-to-6-x-part-2/139906/4 "2018-08-10T12:09:24Z")

</div>

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