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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.