Change the replica count
ElasticsearchIndex LifecycleCommand
PUT /customer/_settings
{
"index": { "number_of_replicas": 2 }
}What it does
Dynamically changes the number of replica shards for the index.
When to use it
To increase/decrease redundancy or read capacity.
Caution
Adding replicas creates extra disk usage and network traffic (recovery); dropping to 0 removes redundancy.