Increase shards without changing index name


I have a couple of indexes which are very big and I want to increase the shards number.
Split index API offered by ES seems to be very interesting and useful for my case but it requires to change the index name.

What is the best practice for increasing shard number without changing index name and index settings?

The best practice is to always use aliases.

Then when you change from one index to another, you just have to switch the alias.


Thanks a lot David, I proceeded as you suggested.
I noticed that the source index is not deleted after splitting is completed, is this the expected behaviour?

Yes. This is expected. You need to do it manually.

1 Like

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