On Wed, Oct 1, 2014, at 08:47 PM, S.L wrote:
> Hi All,
> 
> We recently moved from a single Solr instance to SolrCloud and we are
> using
> pysolr , I am wondering what options (clients)  we have from Python  to
> take advantage of Zookeeper and load balancing capabilities that
> SolrCloud
> provides if I were to use a smart client like Solrj?

Obviously SolrJ is Java, not Python. SolrJ has integration with
Zookeeper, so when you instantiate a CloudSolrServer instance, you tell
it where Zookeeper is, not Solr. Your app then consults Zookeeper to
find out which Solr instance to talk to.

This means you can move stuff around within your infrastructure without
needing to tell your app, and without needing to mess with load
balancers as that is all handled for you by the SolrJ client deciding
which node to forward your request.

Upayavira

Reply via email to