Assign shards

(bikram) #1

Hi Team,
How can i manually assign the shards in the ES v.5. Previously in old version i used to have index.number_of_shards: 1 in elasticsearch.yml file, but it doesnt work any more on the latest version. Any help will be really appreciated.

(David Pilato) #2

It's actually an index setting. You can add this to an index template if you wish so it gets applied to all new indices you will create.

(bikram) #3

Thank you for you help. Do you have any links on how we can archive it via template ?

(David Pilato) #4

The documentation says it:

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.