# \_timestamp and multifield mapping failed

**URL:** <https://discuss.elastic.co/t/-timestamp-and-multifield-mapping-failed/23562>\
**Category:** Elasticsearch\
**Created:** [May 5, 2015, 1:27pm UTC](https://discuss.elastic.co/t/-timestamp-and-multifield-mapping-failed/23562 "2015-05-05T13:27:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)\
**Post date:** [May 5, 2015, 1:27pm UTC](https://discuss.elastic.co/t/-timestamp-and-multifield-mapping-failed/23562/1 "2015-05-05T13:27:58Z")

</div>

Hello,

using elasticsearch version 1.5.2 and index was created with ttl enable and  
\_timestamp store as of following:

curl -XGET '[http://localhost:9200/\_mappings?pretty](http://localhost:9200/_mappings?pretty)'  
{  
"myindex" : {  
"mappings" : {  
"mytype1" : {  
"\_timestamp" : {  
"enabled" : true,  
"store" : true  
},  
"\_ttl" : {  
"enabled" : true  
},  
"properties" : { }  
},  
"mytype2" : {  
"\_timestamp" : {  
"enabled" : true,  
"store" : true  
},  
"\_ttl" : {  
"enabled" : true  
},  
"properties" : { }  
}  
}  
}  
}

however, when a "multi field" to type mytype1

curl -s -XPUT 'localhost:9200/myindex/mytype1/\_mapping' -d '  
{  
"mytype1" : {  
"properties": {  
"mytype1\_sub" : {  
"type": "string",  
"index" : "analyzed",  
"fields" : {  
"untouched" : { "type": "string", "index" : "not\_analyzed" }  
}  
}  
}  
}  
}'

{"error":"MergeMappingException[Merge failed with failures {[mapper  
[\_timestamp] has different store values]}]","status":400}

What went wrong? The index created without \_timestamp, it works for the  
multi field, can anyone explain?

Jason

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1ebe362a-65eb-4e8d-a89d-8116e49be0dc%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1ebe362a-65eb-4e8d-a89d-8116e49be0dc%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:15am UTC](https://discuss.elastic.co/t/-timestamp-and-multifield-mapping-failed/23562/2 "2017-07-06T00:15:36Z")

</div>

Closed on July 6, 2017, 12:15am UTC


