分布式搜索elasticsearch java API 之(一)------与集群交互
Settings settings = ImmutableSettings.settingsBuilder().put("client.transport.ignore_cluster_name", true).put("client.transport.ping_timeout", 5).put("client.transport.nodes_sampler_interval", 5).build();Client client = new TransportClient(settings)???
?
?
?