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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.