Re: Python Client for Solr Cloud - Leader aware

2019-03-01 Thread Walter Underwood
There is no guarantee that sending an update to a non-leader node is slower. It certainly seems like a bad idea, but forwarding a document is fast and indexing a document is slow, so it might not even be measurable. We’ve indexed a million docs per minute by sending all updates to the load bala

Re: Python Client for Solr Cloud - Leader aware

2019-03-01 Thread Jason Gerlowski
Hi Ganesh, I'm not an expert on pysolr, but from a quick scan of their update code, it does look like pysolr attempts to send update requests to _a_ leader node for a particular collection. But that's all it does. It doesn't check which shard the document(s) will belong to and try to pick the _c

Python Client for Solr Cloud - Leader aware

2019-02-26 Thread Ganesh Sethuraman
We are using Solr Cloud 7.2.1. Is there a leader aware python client (like SolrJ for Java), which can send the updates to the leader and it its highly available? I see PySolr https://pypi.org/project/pysolr/ project, not able to find any documentation if it supports leader aware updates. Regards G