Introduction
Index settings control how data is stored and copied in Elasticsearch. Shards split data for speed, replicas copy data for safety.
When you want to make your search faster by splitting data into parts.
When you want to keep extra copies of your data to avoid losing it.
When you need to balance storage and performance on your Elasticsearch cluster.
When setting up a new index and deciding how many pieces and copies it should have.
When you want to improve search availability during server failures.