On 1/24/2013 12:58 AM, Per Steffensen wrote:
This is supported. You just need to ajust your ZK connection-string:
"<host1>:<port1>/solr,<host2>:<port2>/solr,...,<hostN>:<portN>/solr"
My experience has been that you put the chroot at the very end, not on
every host entry. For a standalone zookeeper ensemble with three nodes:
"server1:2181,server2:2181,server3:2181/mysolr1"
This is used for the zkHost parameter both on Solr startup and with the
CloudSolrServer object from SolrJ. The string is used without
modification in constructing the actual ZooKeeper object down in the
SolrCloud internals. Here's the documentation for that object:
http://zookeeper.apache.org/doc/r3.4.5/api/org/apache/zookeeper/ZooKeeper.html#ZooKeeper%28java.lang.String,%20int,%20org.apache.zookeeper.Watcher%29
Thanks,
Shawn