Only use CloudSolrClient if you don’t care about the error return from updates. For us, that is a fatal flaw that makes CloudSolrClient unacceptable for prod use.
We use HttpSolrClient directed at the load balancer for the cluster and I haven’t noticed any speed issues. I expect that forwarding a document ot the right leader is a small overhead. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Jan 23, 2019, at 5:09 PM, Shawn Heisey <apa...@elyograg.org> wrote: > > On 1/23/2019 5:49 PM, Pushkar Raste wrote: >> Thanks for the quick response Shawn. It is migrating ion from Solr 4.10 >> master/slave to Solr Cloud 7.x > > In that case, use SolrJ 7.x, with CloudSolrClient to talk to the new version > and HttpSolrClient to talk to the old version. Use the same SolrInputDocument > objects for both. > > Thanks, > Shawn >