doc: transport sniff only adds data nodes
This commit is contained in:
parent
ddf83a90dd
commit
d73f7c90aa
|
@ -156,8 +156,8 @@ Client client = new TransportClient(settings);
|
||||||
|
|
||||||
Or using `elasticsearch.yml` file as shown in <<node-client>>
|
Or using `elasticsearch.yml` file as shown in <<node-client>>
|
||||||
|
|
||||||
The client allows to sniff the rest of the cluster, and add those into
|
The client allows sniffing the rest of the cluster, which adds data nodes
|
||||||
its list of machines to use. In this case, note that the IP addresses
|
into its list of machines to use. In this case, note that the IP addresses
|
||||||
used will be the ones that the other nodes were started with (the
|
used will be the ones that the other nodes were started with (the
|
||||||
"publish" address). In order to enable it, set the
|
"publish" address). In order to enable it, set the
|
||||||
`client.transport.sniff` to `true`:
|
`client.transport.sniff` to `true`:
|
||||||
|
|
Loading…
Reference in New Issue