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 ?
Not that I am aware of.
Any parameters passed when creating the index take precedence.