# Upgraded to ES 5.2.2 from ES 1.7.1 and getting lot of errs while creating index

**URL:** <https://discuss.elastic.co/t/upgraded-to-es-5-2-2-from-es-1-7-1-and-getting-lot-of-errs-while-creating-index/82454>\
**Category:** Elasticsearch\
**Created:** [April 15, 2017, 12:48am UTC](https://discuss.elastic.co/t/upgraded-to-es-5-2-2-from-es-1-7-1-and-getting-lot-of-errs-while-creating-index/82454 "2017-04-15T00:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maggienj](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@maggienj](https://discuss.elastic.co/u/maggienj)\
**Post date:** [April 15, 2017, 12:48am UTC](https://discuss.elastic.co/t/upgraded-to-es-5-2-2-from-es-1-7-1-and-getting-lot-of-errs-while-creating-index/82454/1 "2017-04-15T00:48:28Z")

</div>

Upgraded to ES 5.2.2 from ES 1.7.1 and getting lot of errs while creating index.

More err info are stored here.. as they are huge and lengthy...

> **[From PyCharm Output - Unit Test Results](http://elasticsearchpy.blogspot.com/2017/04/unit-test-results.html)**
>
> this is from Apr-15 2:35pm EST run http://htmlpreview.github.io/?https://github.com/maggienj/ActiveData/blob/master/Test%20ResultsApr15-2-3...

---

<div class="post-metadata">

**Author:** ![eperry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eperry/32/551_2.png) [@eperry](https://discuss.elastic.co/u/eperry)\
**Post date:** [April 15, 2017, 1:37pm UTC](https://discuss.elastic.co/t/upgraded-to-es-5-2-2-from-es-1-7-1-and-getting-lot-of-errs-while-creating-index/82454/2 "2017-04-15T13:37:36Z")

</div>

well not sure the tool that your using but I see in the very first messsage that your "mapping" has a "string" type which is now invalid, it seems your doing a "migration of the data, from 1.7 to 5.X which means you have to know of all the breaking changes

[http://localhost:9200/testing\_000\_z20170413\_190556:](http://localhost:9200/testing_000_z20170413_190556:)  
{"mappings": {"test\_result": {"dynamic\_templates": [{"default\_numbers": {"match\_mapping\_type": "long", "mapping": {"type": "double"}, "match": "_"}}, {"default\_strings": {"match\_mapping\_type": "string", "mapping": {"index": "not\_analyzed", **"type": "string**"}, "match": "_"}}, {"default\_nested\_objects"  
2017-04-13 19:05:56 - POST [http://localhost:9200/testing\_000\_z20170413\_190556](http://localhost:9200/testing_000_z20170413_190556)

Here is a link to all the breaking changes  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-5.0.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-5.0.html)

---

<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:** [May 13, 2017, 1:38pm UTC](https://discuss.elastic.co/t/upgraded-to-es-5-2-2-from-es-1-7-1-and-getting-lot-of-errs-while-creating-index/82454/3 "2017-05-13T13:38:26Z")

</div>

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