# Upgrade 1.7.5 to 5.X

**URL:** <https://discuss.elastic.co/t/upgrade-1-7-5-to-5-x/116679>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 1:40pm UTC](https://discuss.elastic.co/t/upgrade-1-7-5-to-5-x/116679 "2018-01-23T13:40:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [January 23, 2018, 1:54pm UTC](https://discuss.elastic.co/t/upgrade-1-7-5-to-5-x/116679/2 "2018-01-23T13:54:26Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and not the citation button. It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

Please edit your post.

As I said in the github issue, you can't have from 2.x the same field name within 2 types with different definition.

Here `index1/Alarm-GardanneDRS` has a field named `zone_surveillance` which conflicts with another type that you have in your index.

Anyway, in 6.0 multiple types are not allowed anymore so I'd say that is the right time to reindex everything and target directly 6.0.

---

_[View the full topic](https://discuss.elastic.co/t/upgrade-1-7-5-to-5-x/116679)._
