提交 e8314495 authored 作者: 董吉利's avatar 董吉利

1、elasticsearch服务区的ip和端口改了

上级 ec7ee022
...@@ -46,9 +46,9 @@ public class EsUtil_fanshe { ...@@ -46,9 +46,9 @@ public class EsUtil_fanshe {
synchronized (EsUtil_fanshe.class) { synchronized (EsUtil_fanshe.class) {
// 创建Client连接对象 // 创建Client连接对象
transportClient = new PreBuiltTransportClient(settings) transportClient = new PreBuiltTransportClient(settings)
.addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.6.100"), 9300)) .addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.7.200"), 9300))
.addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.6.110"), 9300)) .addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.7.210"), 9300))
.addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.6.120"), 9300)); .addTransportAddress(new TransportAddress(InetAddress.getByName("192.168.7.220"), 9300));
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论