is there any simple way to update a mapping and change the store value of a
field?
I'm trying to enable _timestamp:
curl -X PUT http://localhost:9200/ubilogs-mbr/_mappings/logs -d '{
"logs" : {
"_timestamp" : {
"enabled" : true,
"store" : true,
"format": "YYYY-MM-dd HH:mm:ss.SSS"
}
}
}'
but I get
{"error":"MergeMappingException[Merge failed with failures {[mapper
[_timestamp] has different store values]}]","status":400}
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 16 avr. 2015 à 17:52, Antoine Brun abr@ubiqube.com a écrit :
Hello,
is there any simple way to update a mapping and change the store value of a field?
I'm trying to enable _timestamp:
curl -X PUT http://localhost:9200/ubilogs-mbr/_mappings/logs -d '{
"logs" : {
"_timestamp" : {
"enabled" : true,
"store" : true,
"format": "YYYY-MM-dd HH:mm:ss.SSS"
}
}
}'
but I get
{"error":"MergeMappingException[Merge failed with failures {[mapper [_timestamp] has different store values]}]","status":400}
On Thu, Apr 16, 2015 at 7:11 PM, David Pilato david@pilato.fr wrote:
No you need to reindex
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 16 avr. 2015 à 17:52, Antoine Brun abr@ubiqube.com a écrit :
Hello,
is there any simple way to update a mapping and change the store value of
a field?
I'm trying to enable _timestamp:
curl -X PUT http://localhost:9200/ubilogs-mbr/_mappings/logs -d '{
"logs" : {
"_timestamp" : {
"enabled" : true,
"store" : true,
"format": "YYYY-MM-dd HH:mm:ss.SSS"
}
}
}'
but I get
{"error":"MergeMappingException[Merge failed with failures {[mapper
[_timestamp] has different store values]}]","status":400}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.