On 6/3/2018 10:44 AM, Zheng Lin Edwin Yeo wrote:
I am running Solr in Cloud Mode, there is a fault tolerant ZK setup. I
understand that we can use CloudSolrClient, and it will automatically
adjust when servers go down.
However, I would like to check if there is a way for this to work if we are
using URL from browser? Is there any URL that we can call to the ZooKeeper
to do this fault tolerance instead of calling Solr directly?
If you want fault tolerance when not using a cloud-aware client like
SolrJ, you will need to set up a proxy or load balancer that sits in
front of your SolrCloud install.
ZK does not use HTTP. It is a proprietary protocol. Your browser won't
connect to it.
Thanks,
Shawn