Query ES through Java or Scala

Hello Experts!!
I am all set with ES connection with java, but I am unaware of the queries working.
I want sample code or some information that can help me query ES and print out the response.

Just for instance
I have a ES running, I have the IP and the port number for that, all I need is how to query it?

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