Explained here:
http://www.elasticsearch.com/docs/elasticsearch/java_api/client/. Probably
the simplest form would be to use the Server Client. Note, if you use it,
make sure to pass -Djava.net.preferIPv4Stack=true for simpler usage.
cheers,
shay.banon
On Tue, Apr 6, 2010 at 12:07 AM, megAmin amin.megha@gmail.com wrote:
hello
i am new to Elasticsearch. i read thru java api on your site but
cudnt understand completely how to create client by establishing
connection to the server. Elasticsearch server is hosted at a
particular IP address and i need to connect to it thru java code. so
can you please guide me as to which kind of client i should create
and how?thnx