How to test or check Connection of my Java application to Elasticsearch?

Hi Everyone! :slight_smile:

Can you help me to know how to check the connection between my java application to Elasticsearch? Btw, I am using the Elasticsearch version 8.11. I see the documentation Connecting | Elasticsearch JavaScript Client [8.11] | Elastic

But not sure how does it works. Thanks for your help, hope to hear from you soonest! :slight_smile:

I'm just calling info().

The documentation you should look at is Elasticsearch Java API Client [8.12] | Elastic. The one you linked to is for JavaScript. Not Java :wink:

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