How to connect Java program in elastic search 7.3.1?

Is this above code is not compile successfully.I use elastic search 7.3.1.. So please give me the proper solution to connect elastic search 7.3.1 using java.

I don't use Java myself but I know that the Transport Client was deprecated in ES 7.0 and will be removed, so you should have a look at the REST Client instead.

1 Like

How to map Maven project into java Servlet ..Is it possible ? Give me the possible solution ..
Thanks in advance

I shared some samples here:

Not related to servlets in any way but that could help.

1 Like


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