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.
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.
Thank you for you help. Do you have any links on how we can archive it via template ?
The documentation says it: https://www.elastic.co/guide/en/elasticsearch/reference/5.1/indices-templates.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.