浏览代码

Merge pull request #15403 from fforbeck/master

Added description for parameter <local>, FIX #14125
Clinton Gormley 10 年之前
父节点
当前提交
6144457f01
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/reference/cluster/health.asciidoc

+ 4 - 0
docs/reference/cluster/health.asciidoc

@@ -87,6 +87,10 @@ The cluster health API accepts the following request parameters:
     A time based parameter controlling how long to wait if one of
     the wait_for_XXX are provided. Defaults to `30s`.
 
+`local`::
+    If `true` returns the local node information and does not provide
+    the state from master node. Default: `false`.
+
 
 The following is an example of getting the cluster health at the
 `shards` level: