Have a little confusion in
elasticsearch.yml to hold transport addresses.
In the above post Kimchy commented we cant provide addresses in yml file.
//settings contain only cluster.name
client = new PreBuiltTransportClient(settings)
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("localhost"), 9300));
Now, if above code is migrated to cluster where Elasticsearch exists on another server.
How do I add this transport address in external yml, so that my code would know.
Can we? Cannot?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.