Hi,
From time to time, I need to add a new field to my templates (mostly daily indices). Is there an easy way to apply that to an existing index?
Thank you!
Hi,
From time to time, I need to add a new field to my templates (mostly daily indices). Is there an easy way to apply that to an existing index?
Thank you!
You can apply a new field to your existing index in the mapping first, but still need to do a reindex of each document. You can use the update by query API to reindex every document within its index...
Thank you for clarifying this. Could you answer two related question?
If I run update by query, will it affect the size of the index? Also, if the index is actively written, can I run an update on it, or I need to wait until the new one is opened?
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.