浏览代码

[Docs] Name remote cluster "two" (#42976)

All the text and the search example refer to the remote cluster as
"two" rather than "cluster_two". This commit changes the definition
that is stored through the settings API to match the rest of the
examples.
Tim Vernum 6 年之前
父节点
当前提交
ec74dfe05b
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      x-pack/docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc

+ 3 - 3
x-pack/docs/en/security/ccs-clients-integrations/cross-cluster.asciidoc

@@ -52,10 +52,10 @@ PUT _cluster/settings
   "persistent": {
     "cluster": {
       "remote": {
-        "cluster_one": {
+        "one": {
           "seeds": [ "10.0.1.1:9300" ]
         },
-        "cluster_two": {
+        "two": {
           "seeds": [ "10.0.2.1:9300" ]
         }
       }
@@ -83,7 +83,7 @@ First, enable cluster `one` to perform cross cluster search on remote cluster
 PUT _cluster/settings
 {
   "persistent": {
-    "cluster.remote.cluster_two.seeds": [ "10.0.2.1:9300" ]
+    "cluster.remote.two.seeds": [ "10.0.2.1:9300" ]
   }
 }
 -----------------------------------------------------------