Elasticsearch transport client with url path

My elasticsearch wrapped in tomcat using transport ware is up and running in a cluster of 20 machines on a specific path /essearch. I have load balancer before cluster with dns, so i access elastic search using, www.dns.com/essearch/

Now, im trying to use the Bulkprocessor to add / update docs in bulk. The elasticsearch TransportClient, only takes in hostname and port and there is no way to specify the path or direct url.

And transport client fails to connect as it doenst fine any nodes on the host and port.

How to specify path in the transport client ?

Thanks

Also posted in http://stackoverflow.com/questions/26069555/elasticsearch-transport-client-with-url-path

Transport Client does not do REST calls. There is no path involved.
So you don't have to set a path.

Note that transport is using 93xx ports but HTTP Rest layer uses 92xx ports.
If you want to use Transport client, then don't forget to use the right port.

My 2 cents.

--
David Pilato | Technical Advocate | elasticsearch.com
david.pilato@elasticsearch.com
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 29 septembre 2014 à 10:21:12, shakul (shakul.hameed+es@gmail.com) a écrit:

My elasticsearch wrapped in tomcat using transport ware is up and running in
a cluster of 20 machines on a specific path /essearch. I have load balancer
before cluster with dns, so i access elastic search using,
www.dns.com/essearch/

Now, im trying to use the Bulkprocessor to add / update docs in bulk. The
elasticsearch TransportClient, only takes in hostname and port and there is
no way to specify the path or direct url.

And transport client fails to connect as it doenst fine any nodes on the
host and port.

How to specify path in the transport client ?

Thanks

Also posted in

--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/elasticsearch-transport-client-with-url-path-tp4064121.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1411777369010-4064121.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.542955fb.12200854.8751%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.

Thank you dadoonet. I changed the transport in yml, and forgot to give the me correct port in transport client. Now it works fine.