# Mapping conflict on deleted indices?

**URL:** https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003
**Category:** Elasticsearch
**Created:** [November 7, 2019, 7:47pm UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003 "2019-11-07T19:47:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Evan\_Ravenelle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evan_ravenelle/32/45404_2.png) [@Evan\_Ravenelle](https://discuss.elastic.co/u/Evan_Ravenelle)
#### Post date: [November 7, 2019, 7:47pm UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003/1 "2019-11-07T19:47:26Z")

</div>

I am seeing a mapping conflict on "message" field because in some older indices, "message" data type was set to "text" while in others it is "string." This is preventing me from using the field in any sort of analysis in Kibana due to the message "The type of this field changes across indices. It is unavailable for many analysis functions. The indices per type are as follows."

The problem is, all of the indices it shows as problematic on that page were deleted long ago. Obviously I can't reindex documents from an index that no longer exists. If those indices were deleted and they don't come up when I query the ESDB, how can I fix this?

---

<div class="post-metadata">

### Author: ![geekpete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/geekpete/32/20409_2.png) [@geekpete](https://discuss.elastic.co/u/geekpete)
#### Post date: [November 15, 2019, 11:26am UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003/2 "2019-11-15T11:26:07Z")

</div>

Do you see any of these indices with `GET_cat/indices?v`  
Can you verify the indices you're hitting the mapping exception on, the response should show you what index names are conflicting.  
Do you have the example query you're using as well?

---

<div class="post-metadata">

### Author: ![Evan\_Ravenelle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evan_ravenelle/32/45404_2.png) [@Evan\_Ravenelle](https://discuss.elastic.co/u/Evan_Ravenelle)
#### Post date: [November 15, 2019, 3:31pm UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003/3 "2019-11-15T15:31:18Z")

</div>

No, this is the problem--those indices were deleted in the past. None of the indices listed with conflicts actually exist. These are the indices listed as conflicting:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/f/bfe0b61f6f86fcf1a7b242fd4cec970ac9328de1.png)

When I query for them, these indices don't show up because as I said, they were deleted.

---

<div class="post-metadata">

### Author: ![geekpete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/geekpete/32/20409_2.png) [@geekpete](https://discuss.elastic.co/u/geekpete)
#### Post date: [November 16, 2019, 11:32am UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003/4 "2019-11-16T11:32:31Z")

</div>

Do you have the mapping conflict error message you can show?

If you are getting errors back referring to indices that you cannot see are there, then I wonder if this might be a split brain scenario perhaps.  
To detect this, check what each node in the cluster thinks it's node membership is with:

GET /\_cat/nodes?v

And if you get different answers from any nodes then there might be a network partition.

---

<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: [December 14, 2019, 11:35am UTC](https://discuss.elastic.co/t/mapping-conflict-on-deleted-indices/207003/5 "2019-12-14T11:35:19Z")

</div>

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