Apologize for the screenshot but my elasticsearch instance is in a secure environment with only a jumphost browser that cannot copy anything out.
Elastic Stack version 7.17.4 single node
I am trying to update an index template to create new indexes with number_of_replicas = 0. I tried to update through the API and it accepts it but afterwards the setting does not take and I don't see the number_of_replicas set at all. Here is the screenshot with the field that I added highlighted in yellow:
When I do a GET on the template after the PUT, the field is not there.
Thank you for the response. I was getting back the acknowledged true. My mistake the new parameter was all the way at the bottom of template.settings.index array and not where I placed it in the request so I didn't notice it.
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.