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