Ver código fonte

apply review from @clintongormley

Simon Willnauer 10 anos atrás
pai
commit
ce417540c5
1 arquivos alterados com 13 adições e 0 exclusões
  1. 13 0
      docs/reference/cluster/update-settings.asciidoc

+ 13 - 0
docs/reference/cluster/update-settings.asciidoc

@@ -62,6 +62,19 @@ the response for the last example will be:
     "persistent" : {},
     "transient" : {}
 }
+--------------------------------------------------
+
+Settings can also be reset using simple wildcards. For instance to reset
+all dynamic `discovery.zen` setting a prefix can be used:
+
+[source,js]
+--------------------------------------------------
+curl -XPUT localhost:9200/_cluster/settings -d '{
+    "transient" : {
+        "discovery.zen.*" : null
+    }
+}'
+--------------------------------------------------
 
 Cluster wide settings can be returned using: