# Type level analyzer not migrated \[upgrade ES-1.7 =\> ES-2.3\]

**URL:** <https://discuss.elastic.co/t/type-level-analyzer-not-migrated-upgrade-es-1-7-es-2-3/51978>\
**Category:** Elasticsearch\
**Created:** [June 6, 2016, 3:56pm UTC](https://discuss.elastic.co/t/type-level-analyzer-not-migrated-upgrade-es-1-7-es-2-3/51978 "2016-06-06T15:56:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drallax](https://avatars.discourse-cdn.com/v4/letter/d/46a35a/32.png) [@drallax](https://discuss.elastic.co/u/drallax)\
**Post date:** [June 6, 2016, 3:56pm UTC](https://discuss.elastic.co/t/type-level-analyzer-not-migrated-upgrade-es-1-7-es-2-3/51978/1 "2016-06-06T15:56:40Z")

</div>

our 1.7 index has analyzers (both index\_analyzer and search\_analyzer) defined at the type level,  
and the type has a string property with no explicit analyzer setting.  
As expected, in ES-1.7, during indexing the type-level index\_analyzer is used an during search, the type level search\_analyzer is used.

However, after upgrading the index to ES-2.3.3, the type-level analyzers are lost and no replacement analyzers are added to the string property (as confirmed by the GET mapping output)  
To fix this, we tried setting the analyzer directly on the property, to no avail:

- when trying to update the mapping (with exact same analyzers as defined at the type level) we get the following error:  
"Mapper for [data] conflicts with existing mapping in other types: [mapper [data] has different [analyzer]]"
- this mapping error occurs both before upgrading the index (in ES-1.7) as well as after upgrading (in ES-2.3.3)

Does anybody happen to know a workaround for this situation?

---

<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:** [June 8, 2016, 9:52am UTC](https://discuss.elastic.co/t/type-level-analyzer-not-migrated-upgrade-es-1-7-es-2-3/51978/2 "2016-06-08T09:52:26Z")

</div>

What do the mappings look like?

---

<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 5, 2017, 10:45pm UTC](https://discuss.elastic.co/t/type-level-analyzer-not-migrated-upgrade-es-1-7-es-2-3/51978/3 "2017-07-05T22:45:22Z")

</div>


