increase shards elasticsearch

curl http://localhost:9200/_cat/shards | wc -l
100

curl -XPUT http://localhost:9200/_cluster/settings -H "Content-Type: application/json" -d '{ "persistent": { "cluster.max_shards_per_node": "200" } }'

Leave a Reply

Your email address will not be published. Required fields are marked *