Why should I have to split index

Hi team
I am newbie to the elastic search. While I am looking at static index settings I found index.number_of_routing_shards there mentioned that it is used to split an index. After seeing this sentence I got some questions in my mind.

  1. Why should I split an index?
    2.Can some explain real-time scenarios.
    3.How this parameter helps in splitting the index.

The example mentioned in the documentation is not clear to me.
It may be a silly question but as I am new to this and want to learn more, found interesting want to know the answer. I hope people can explain me with good example.


Welcome to our community! :smiley:

  1. You may not need to. But if you do it'd be to increase write performance, or to split an index that has grown too large
  2. I'm not sure what you mean by real time here sorry
  3. Per the docs, so in the example that index can be split up to 30 shards;

The number of times the index can be split (and the number of shards that each original shard can be split into) is determined by the index.number_of_routing_shards setting.

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