Browse Source

doc: transport sniff only adds data nodes

Joao Duarte 11 năm trước cách đây
mục cha
commit
d73f7c90aa
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/java-api/client.asciidoc

+ 2 - 2
docs/java-api/client.asciidoc

@@ -156,8 +156,8 @@ Client client =    new TransportClient(settings);
 
 Or using `elasticsearch.yml` file as shown in <<node-client>>
 
-The client allows to sniff the rest of the cluster, and add those into
-its list of machines to use. In this case, note that the IP addresses
+The client allows sniffing the rest of the cluster, which adds data nodes
+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
 "publish" address). In order to enable it, set the
 `client.transport.sniff` to `true`: