In elasticsearch v1.x I could set index.number_of_replicas
statically (in the elasticsearch.yml file):
# Set the number of replicas (additional copies) of an index (1 by default):
index.number_of_replicas: 0
However, I am now putting together the config files for v2.3 and this setting no longer has any effect.
For example, if I add the above code to the elasticsearch.yml file and fire up ES v2.3, the Marvel indices are still automatically created with number_of_replicas: 1
. It also isn't listed with the static settings in the docs.
Has it changed since v1.x, or am I doing something wrong? Can this only be done via the dynamic settings now?