We can use the setting: index.auto_expand_replicas to automatically adapt the number of replicas based on the number of available nodes
https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html
We can use the setting: index.auto_ expand_ replicas
to automatically adapt the number of replicas based on the number of available nodes
https:/ /www.elastic. co/guide/ en/elasticsearc h/reference/ current/ index-modules. html