CloudSolrServer (and I'm assuming you're in the 4x code line, that's now CloudSolrClient) takes an ensemble, here are two examples:
"host1:2181,host2:2181,host3:2181/mysolrchroot" "zoo1.example.com:2181,zoo2.example.com:2181,zoo3.example.com:2181" Best, Erick On Wed, Jul 6, 2016 at 11:48 AM, Naveen Pajjuri <pajjuri.re...@myntra.com> wrote: > Hi, > In our production we have a solr cloud setup with zookeeper cluster setup. > I want to shift to CloudSolrServer from httpsolrserver is there any way to > specify all the ip addresses of zookeeper machines while > instantiating CloudSolrServer, so that i will have an automatic fallback > mechanism. > > PS : right now i'm instantiating CloudSolrServer with one of the zookeeper > machine's ip from the cluster. But if zookeeper on this machine dies my > production systems may break. > > > Thanks, > Naveen.