sharding - How to add additional primary shards to Elasticsearch cluster? -


i have cluster containing 7 nodes, i've noticed using 5 primary shards, meaning per index - utilizing 5 nodes out of 7. add 2 additional primary shards newly created indices.

i've added following elasticsearch.yml , restarted cluster:

index.number_of_shards: 7 index.number_of_replicas: 0

however, it's been few days , few new indices since - , still see sharding 5 pieces.. can explain why? missing additional configuration here?

thanks!

you have reindex affected index. imagine there 1 index in cluster. number of shards can not change automatically in existing index.

this relative question might , this question if not want downtime, works aliases , 2 indexes- 1 before resharding , 1 afterwards , switch aliases point in wherever index want


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -