[英]Elasticsearch multinode environment
In elastic search i created multi-node setup.I use Java Api transport Client to communicate to Elasticsearch server. 在弹性搜索中,我创建了多节点设置。我使用Java Api传输客户端与Elasticsearch服务器进行通信。
Now i created transport client with only one IP[assume:192.129.129.12.9300]. 现在,我创建了仅具有一个IP的传输客户端[假定:192.129.129.12.9300]。 If i request any query in single ip it communicates all nodes and returns results.
如果我在单个ip中请求任何查询,它将传达所有节点并返回结果。 What happen if it my node[192.129.129.12.9300] that i mentioned in transport Client fails.
如果我在传输客户端中提到的我的节点[192.129.129.12.9300]失败了怎么办。 Can i communicate with other nodes.
我可以与其他节点通信吗? What is the optimum way configuration to use transport Client for multi node set up.
使用传输客户端进行多节点设置的最佳方式配置是什么?
You need to activate sniff
option. 您需要激活
sniff
选项。
See http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/client.html#transport-client 请参阅http://www.elasticsearch.org/guide/zh-CN/elasticsearch/client/java-api/current/client.html#transport-client
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.