You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: 020_Distributed_Cluster/20_Add_failover.asciidoc
+21-15
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,12 @@ in exactly the same way as you started the first one (see
12
12
<<running-elasticsearch>>), and from the same directory. Multiple nodes can
13
13
share the same directory.
14
14
15
-
As long as the second node has the same `cluster.name` as the first node (see
16
-
the `./config/elasticsearch.yml` file), it should automatically discover and
17
-
join the cluster run by the first node. If it doesn't, check the logs to find
18
-
out what went wrong. It may be that multicast is disabled on your network, or
19
-
that a firewall is preventing your nodes from communicating.
15
+
When you run a second node on the same machine, it automatically discovers
16
+
and joins the cluster as long as it has the same `cluster.name` as the first node (see
17
+
the `./config/elasticsearch.yml` file). However, for nodes running on different machines
18
+
to join the same cluster, you need to configure a list of unicast hosts the nodes can contact
19
+
to join the cluster. For more information about how Elasticsearch nodes find eachother, see https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html[Zen Discovery]
20
+
in the Elasticsearch Reference.
20
21
21
22
***************************************
22
23
@@ -38,16 +39,21 @@ shards (all three primary shards and all three replica shards) are active:
Copy file name to clipboardexpand all lines: 060_Distributed_Search/15_Search_options.asciidoc
+5-31
Original file line number
Diff line number
Diff line change
@@ -82,40 +82,14 @@ discuss it in detail in <<scale>>.
82
82
[[search-type]]
83
83
==== search_type
84
84
85
-
While `query_then_fetch` is the default((("query_then_fetch search type")))((("search options", "search_type")))((("search_type"))) search type, other search types can
86
-
be specified for particular purposes, for example:
85
+
The default search type is `query_then_fetch` ((("query_then_fetch search type")))((("search options", "search_type")))((("search_type"))). In some cases, you might want to explicitly set the `search_type`
86
+
to `dfs_query_then_fetch` to improve the accuracy of relevance scoring:
0 commit comments