|
@@ -242,9 +242,31 @@ PUT _cluster/settings
|
|
|
If `cluster_two` is disconnected or unavailable during a {ccs}, {es} won't
|
|
|
include matching documents from that cluster in the final results.
|
|
|
|
|
|
-[float]
|
|
|
+[discrete]
|
|
|
[[ccs-works]]
|
|
|
== How {ccs} works
|
|
|
+
|
|
|
+include::./remote-clusters.asciidoc[tag=how-remote-clusters-work]
|
|
|
+
|
|
|
+[discrete]
|
|
|
+[[ccs-gateway-seed-nodes]]
|
|
|
+=== Selecting gateway and seed nodes
|
|
|
+
|
|
|
+Gateway and seed nodes need to be accessible from the local cluster via your
|
|
|
+network.
|
|
|
+
|
|
|
+By default, any master-ineligible node can act as a gateway node. If wanted,
|
|
|
+you can define the gateway nodes for a cluster by setting
|
|
|
+`cluster.remote.node.attr.gateway` to `true`.
|
|
|
+
|
|
|
+For {ccs}, we recommend you use gateway nodes that are capable of serving as
|
|
|
+<<coordinating-node,coordinating nodes>> for search requests. If
|
|
|
+wanted, the seed nodes for a cluster can be a subset of these gateway nodes.
|
|
|
+
|
|
|
+[discrete]
|
|
|
+[[ccs-network-delays]]
|
|
|
+=== How {ccs} handles network delays
|
|
|
+
|
|
|
Because {ccs} involves sending requests to remote clusters, any network delays
|
|
|
can impact search speed. To avoid slow searches, {ccs} offers two options for
|
|
|
handling network delays:
|
|
@@ -268,11 +290,9 @@ latency.
|
|
|
+
|
|
|
See <<ccs-unmin-roundtrips>> to learn how this option works.
|
|
|
|
|
|
-
|
|
|
-
|
|
|
[float]
|
|
|
[[ccs-min-roundtrips]]
|
|
|
-=== Minimize network roundtrips
|
|
|
+==== Minimize network roundtrips
|
|
|
|
|
|
Here's how {ccs} works when you minimize network roundtrips.
|
|
|
|
|
@@ -297,7 +317,7 @@ image:images/ccs/ccs-min-roundtrip-client-response.png[]
|
|
|
|
|
|
[float]
|
|
|
[[ccs-unmin-roundtrips]]
|
|
|
-=== Don't minimize network roundtrips
|
|
|
+==== Don't minimize network roundtrips
|
|
|
|
|
|
Here's how {ccs} works when you don't minimize network roundtrips.
|
|
|
|