diff --git a/useful_elasticsearch_commands.md b/useful_elasticsearch_commands.md index f21f3e7..c59a2e4 100644 --- a/useful_elasticsearch_commands.md +++ b/useful_elasticsearch_commands.md @@ -57,3 +57,9 @@ curl -X PUT "localhost:9200/_all/_settings" \ -H "Content-Type: application/json" \ -d '{"index.blocks.read_only_allow_delete": false}' ``` + +Retry rerouting + +```bash +curl -s -X POST 'http://localhost:9200/_cluster/reroute?retry_failed=true&pretty' +``` \ No newline at end of file