It actually accepts a comma separated list of zk host addresses (your quorum). Same format as zk describes in it's docs.
To get the cluster state, get the ZkStateReader from the CloudSolrServer and then it's getClusterState or something. - Mark On Jun 3, 2013, at 5:30 PM, Furkan KAMACI <furkankam...@gmail.com> wrote: > I want to get cluster state of my SolrCloud by Solrj (I know that admin > page shows it but I want to customize it at my application). > > Firstly wiki says that: > > CloudSolrServer server = new CloudSolrServer("localhost:9983"); > > why CloudSolrServer takes only one Zookeeper host:port as an argument? I > have a quorum of Zookeeper and some of them maybe down even quorum works? > > Secondly how can I get the current state of clusters properly?