How to set the default value for "number_of_replicas" parameter which can not be overridden while creating the index


(Himanshu Joshi) #1

I have set a default value for "index.number_of_replicas" parameter in elasticsearch.yml file. Is it possible to restrict users from overriding this value while creating an index ?


(Mark Walkom) #2

Not that I am aware of.
Any parameters passed when creating the index take precedence.


(system) #3