浏览代码

doc: transport sniff only adds data nodes

Joao Duarte 11 年之前
父节点
当前提交
d73f7c90aa
共有 1 个文件被更改,包括 2 次插入2 次删除
  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`: