How to connect to elasticsearch by java

Hi . l need to connect elasticsearch throu java aplication class.
is it possible. if it is then may you tell me which jars should be used.
Finally can you show me sample code to connect elastic search throu java application class..

Thank you for your help,,,

See https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html

thanks for your answer
l really do not know how to use this web page.
Can you give me sample code and which jars should be used and information about which framework should be used .

I'm not going to copy and paste all what is documented in those pages. Did you read all of them?

If so, what is unclear?

Thanks. l really did not read all of them.
But l will.
Just wanna learn that can l connect elasticsearch through any basic java application class

That's exactly what documentation is providing.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.