# What can cause a mapping to be corrupted?

**URL:** <https://discuss.elastic.co/t/what-can-cause-a-mapping-to-be-corrupted/11291>\
**Category:** Elasticsearch\
**Created:** [March 25, 2013, 12:35pm UTC](https://discuss.elastic.co/t/what-can-cause-a-mapping-to-be-corrupted/11291 "2013-03-25T12:35:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eran\_Eidinger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eran_eidinger/32/44831_2.png) [@Eran\_Eidinger](https://discuss.elastic.co/u/Eran_Eidinger)\
**Post date:** [March 25, 2013, 12:35pm UTC](https://discuss.elastic.co/t/what-can-cause-a-mapping-to-be-corrupted/11291/1 "2013-03-25T12:35:17Z")

</div>

My mapping seems to get corrupted sometime.  
A simple mapping such as:  
{  
properties: {  
field1: {  
index: not\_analyzed  
omit\_norms: true  
index\_options: docs  
type: string  
}  
},  
\_parent: {  
type: parent\_doctype  
}  
}  
}

suddenly losses the "\_parent" part after several indexing operations

I cannot recreate this, as this happens randomly, as far as I can tell.

When it happens, all the "\_parent" fields of existing docs also vanish.

I most definetely do no mapping API calls that could cause this.  
Only \_index (with autogenereated IDs)

When can (or is it possible for) an index operation change the mapping???

---

<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 6, 2017, 2:44am UTC](https://discuss.elastic.co/t/what-can-cause-a-mapping-to-be-corrupted/11291/2 "2017-07-06T02:44:48Z")

</div>

Closed on July 6, 2017, 2:44am UTC


