Am working on ES to create some new index in ES by limiting the shard number using below command
curl -XPUT localhost:9200/es_test_index '{ "settings : { "number_of_shards" ; 2 } }'
but there is small issue the index is getting created but no with shard as 2 instead with the default shard count 5. Can anyone please tell me how to change this.
AM working on ES 5.1.1
Thanks