You don't use Maven for your project? If not, don't forget to add all needed dependencies.
-- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs Le 22 janv. 2014 à 20:23, ZenMaster80 <[email protected]> a écrit : Brian, This is no different from what I have. I googled the problem, and I guess this may come from the fact that ES js using a different java version. I have added the es 0.90.0.jar to java from the es installation folder. I have no clue what I am missing. > On Wednesday, January 22, 2014 2:02:57 PM UTC-5, InquiringMind wrote: > ImmutableSettings.Builder settingsBuilder = > ImmutableSettings.settingsBuilder(); > settingsBuilder.put("cluster.name", clusterName); > TransportClient client = new TransportClient(settingsBuilder.build()); > > for (String host : hostNames) > { > InetSocketTransportAddress server_address = new InetSocketTransportAddress( > host, portTransport); > > client.addTransportAddress(server_address); > } > > Brian -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ebaf9d9d-808a-4fc3-a94f-4f7c5564c1dd%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/62A8DCBC-0AC7-4EA0-A206-D34D57AB04FC%40pilato.fr. For more options, visit https://groups.google.com/groups/opt_out.
