# Conflicting field names doesnt allow to have differnet settings

**URL:** <https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955>\
**Category:** Elasticsearch\
**Created:** [March 14, 2018, 4:54pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955 "2018-03-14T16:54:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh\_BG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_bg/32/70018_2.png) [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Post date:** [March 14, 2018, 4:54pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955/1 "2018-03-14T16:54:47Z")

</div>

I have two mappings type mpping1 and mapping2

both of them have serverIP. In mapping1 iwant to enable indexing but want to disable on mapping2 how to do that? i am getting exception reg conflicting settings

---

<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:** [March 14, 2018, 5:30pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955/2 "2018-03-14T17:30:16Z")

</div>

Having more than one type is not allowed anymore in 6.x.

---

<div class="post-metadata">

**Author:** ![Yogesh\_BG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_bg/32/70018_2.png) [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Post date:** [March 14, 2018, 6:22pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955/3 "2018-03-14T18:22:32Z")

</div>

I am using ES 2.4

---

<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:** [March 14, 2018, 6:44pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955/4 "2018-03-14T18:44:32Z")

</div>

Sure. But you should prepare yourself for the future and not doing that anymore.  
That will simplify your upgrades in the future.

---

<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:** [April 11, 2018, 6:44pm UTC](https://discuss.elastic.co/t/conflicting-field-names-doesnt-allow-to-have-differnet-settings/123955/5 "2018-04-11T18:44:58Z")

</div>

Closed on April 11, 2018, 6:44pm UTC

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