How to connect ES in java

Hi ALL

I m newbie of ES spend too much time for how to communicate ES with java find many article and example but get different-2 problem is there any simple example to how to done this ... any example , Step .. please suggest me..

Thx in advance

This: https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/transport-client.html

Start with the maven configuration https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_maven_repository.html

And follow the doc to create a new node and client. A tricky part here is that the port for java api is 9300 rather than 9200.

Kk brother got it follow this and done it.

one more question want to know can u chk this link and let me know use this
pattern , step to integration with project is good ..its a out of thread
ques sorry for this..

Regards,

Arun Kumar

phone : +91 8427243081 or Email : arunanu86@gmail.com
arunanu86@gmail.comjavastoreroom.blogspot.com
http://javastoreroom.blogspot.com

The link you provided looks quite straightforward. Not sure what your question is.