I have two mappings mapping1.json and mapping2.json for my index
placed under config/mappings/index/.
As product requirement, i need to update the two mappings without stop
search service. I tried replace them with new mappings, but through
elasticsearch-head console, I see nothing changed for the mappings.
I looked through the user guide on elasticsearch.org but found nothing
to do this work.
You can not.
You can only try to merge mappings with a curl command (or using Java API)
Mapping files are only read when ES starts.
BTW, when you have many nodes, it's easier to send only one curl command instead of copying mapping files on each node.
I have two mappings mapping1.json and mapping2.json for my index
placed under config/mappings/index/.
As product requirement, i need to update the two mappings without stop
search service. I tried replace them with new mappings, but through
elasticsearch-head console, I see nothing changed for the mappings.
I looked through the user guide on elasticsearch.org but found nothing
to do this work.
You want to update the mappings of an existing index? The files there are
no longer relevant in this case. You can update mappings (mainly to
introduce new internal mapping definitions) using the put mapping API.
I have two mappings mapping1.json and mapping2.json for my index
placed under config/mappings/index/.
As product requirement, i need to update the two mappings without stop
search service. I tried replace them with new mappings, but through
elasticsearch-head console, I see nothing changed for the mappings.
I looked through the user guide on elasticsearch.org but found nothing
to do this work.
You want to update the mappings of an existing index? The files there are
no longer relevant in this case. You can update mappings (mainly to
introduce new internal mapping definitions) using the put mapping API.
I have two mappings mapping1.json and mapping2.json for my index
placed under config/mappings/index/.
As product requirement, i need to update the two mappings without stop
search service. I tried replace them with new mappings, but through
elasticsearch-head console, I see nothing changed for the mappings.
I looked through the user guide on elasticsearch.org but found nothing
to do this work.
You want to update the mappings of an existing index? The files there are
no longer relevant in this case. You can update mappings (mainly to
introduce new internal mapping definitions) using the put mapping API.
I have two mappings mapping1.json and mapping2.json for my index
placed under config/mappings/index/.
As product requirement, i need to update the two mappings without stop
search service. I tried replace them with new mappings, but through
elasticsearch-head console, I see nothing changed for the mappings.
I looked through the user guide on elasticsearch.org but found nothing
to do this work.
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.