lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.L" <simpleliving...@gmail.com>
Subject Re: pySolr and other Python client options for SolrCloud.
Date Thu, 02 Oct 2014 01:08:38 GMT
Shawn,

Thanks ,load balancer seems to be the preferred solution here , I have a
topology where I have 6 Solr nodes that support 3 shards with a replication
factor of 2.

Looks like it woul dbe better to use the load balancers for querying
only.The question, that I have is if I go the load balancer route should I
be listing all the six nodes in the load balancer or only the leaders as
identified by SolrCloud admin console?Would the load balancing solution
also incur any additional routing of requests between the individual nodes
of SolrCloud that would have not happened had the python Solr client been
zookeeper aware?

Also for indexing ,which is not done from a Python client but is done using
Solrj, I will avoid the load balancers and do the indexing  it via the
Zookeeper route.

Thanks.

On Wed, Oct 1, 2014 at 8:42 PM, Shawn Heisey <apache@elyograg.org> wrote:

> On 10/1/2014 2:29 PM, S.L wrote:
> > Right , but my query was to know if there are any Python clients which
> > achieve the same thing as SolrJ  , or the approach one should take when
> > using Python based clients.
>
> If the python client can support multiple hosts and failing over between
> them, then you would simply list multiple URLs.  If not, then you'll
> need a load balancer.  I use haproxy with Solr (not in Cloud mode) for
> automatic failover, and it should work equally well for SolrCloud and a
> non-java client.
>
> It looks like Alexandre knows a lot more about it than I do ... I know
> very little about python.
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message