Hi,
How to rename index in elasticsearch 2.2.1, i want to rename the temp document to original document after updating the temp document.
Thanks
Thanigaivelan
Hi,
How to rename index in elasticsearch 2.2.1, i want to rename the temp document to original document after updating the temp document.
Thanks
Thanigaivelan
You cannot, https://www.elastic.co/blog/changing-mapping-with-zero-downtime will be the closest thing you can do.
Hi,
You can create alias name for the index, this will not require any downtime.
curl -XPOST 'http://localhost/_aliases' -d '
{
"actions" : [
{ "add" : { "index" : "items", "alias" : "my_items" } }
]
}'
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.