Concept Flow - Index settings (shards, replicas)
Create Index Request
Set number_of_shards
Set number_of_replicas
Elasticsearch Distributes Shards
Index Ready for Use
When creating an index, you set how many shards and replicas it has. Elasticsearch then distributes these shards across nodes.