# Mapping conflicts between Object and Text

**URL:** <https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591>\
**Category:** Elasticsearch\
**Created:** [December 12, 2018, 5:36pm UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591 "2018-12-12T17:36:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sss/32/31486_2.png) [@sss](https://discuss.elastic.co/u/sss)\
**Post date:** [December 12, 2018, 5:36pm UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591/1 "2018-12-12T17:36:46Z")

</div>

Hello,

I have 2 fields with conflicting types text, object and these fields are being indexed into same document and as a result, index request is giving a MapperParserException in ES 5.x..While this works perfectly fine in ES 2.x ?

I know i can rename the property, but i am looking for other alternative solutions.

Is there a setting by which we can use to make both the mappings stay in the index ? Or ES 5.x implementation doesn't allow such mappings anymore ?

---

<div class="post-metadata">

**Author:** ![sss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sss/32/31486_2.png) [@sss](https://discuss.elastic.co/u/sss)\
**Post date:** [December 14, 2018, 6:57am UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591/2 "2018-12-14T06:57:47Z")

</div>

Any reply on this?

---

<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:** [December 14, 2018, 7:36am UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591/3 "2018-12-14T07:36:34Z")

</div>

Read [this](https://discuss.elastic.co/t/about-the-elasticsearch-category/21) and specifically the "Also be patient" part.

It's fine to answer on your own thread after 2 or 3 days (not including weekends) if you don't have an answer.

It would help if you give a concrete example.

---

<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:** [January 11, 2019, 7:36am UTC](https://discuss.elastic.co/t/mapping-conflicts-between-object-and-text/160591/4 "2019-01-11T07:36:52Z")

</div>

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