I'm running ES cluster with multiple on AWS. The cluster is behind an ELB that is fed by logstash. I've tested a new mapping template in a sandbox cluster, but with only one node.
I've read over these two articles:
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
https://www.elastic.co/blog/changing-mapping-with-zero-downtime
When changing the template does each node need to have an updated copy? Can the new template be fed to the master and then it will share the template?
You can add/update your template using the _template
endpoint and all master-eligible nodes will record it.
However, if you decide to store that template within a file (in the config/templates
folder), then you have to store that file on all master-eligible nodes.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.