Ok, i am looking at using ElasticSearch, via Java, for one of my applications,
and have installed version 5.0.0 and have it running ok, in about 10 mins
i have now copied, the Jar file down, into my test app, (netbeans is my development environment 8.0.2) , using start Jar file elasticsearch-5.0.0.jar no marven
and using the example from the docs/web page
public static void main(String args)
TransportClient client = new PreBuiltTransportClient(Settings.EMPTY) .addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(""), 9300)); client.close(); }
and i am getting a comple error on PreBuiltTransportClient, and it does not apper to be in the Jar files, or am i missing some thing.
or is there another example else where, that does not use "PreBuiltTransportClient"