lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: pySolr and other Python client options for SolrCloud.
Date Wed, 01 Oct 2014 19:57:25 GMT

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.


View raw message