Hii Guys, i using java api client to search data in elasticsearch, i have followed the documents but i have the error in this line
- TransportClient client = new PreBuiltTransportClient(Settings.EMPTY)
the error says that PreBuiltTransportClient cannot be resolved to a type
My elasticsearch is 6.4.3,i have added jars of same 6.4.3
is it correct? How to resolve it?