Re: [SolrJ Clients] RequestWriter VS BinaryRequestWriter

2015-11-06 Thread Erick Erickson
And the other large benefit of CloudSolrClient is that it routes documents directly to the correct leader, i.e. does the routing on the client rather than have the Solr instances forward docs to the routing. Using CloudSolrClient should scale more nearly linearly with increasing shards. Best, Eric

Re: [SolrJ Clients] RequestWriter VS BinaryRequestWriter

2015-11-06 Thread Shawn Heisey
On 11/6/2015 7:15 AM, Vincenzo D'Amore wrote: > I have followed your same path, having a look at java source. I inherited > an installation with CloudSolrServer (I still had solrcloud 4.8) but I was > not sure it was the right choice instead of the (apparently) more appealing > ConcurrentUpdateSolr

Re: [SolrJ Clients] RequestWriter VS BinaryRequestWriter

2015-11-06 Thread Alessandro Benedetti
Hi Vincenzo, according to our discoveries I would say the CloudSolrClient to be the most efficient way to interact with a Solr Cloud cluster. ConcurrentUpdateSolrServer will be efficient for a single Solr instance, but using under the hood the XML Response Writer. Even if you prefer to use the jav

Re: [SolrJ Clients] RequestWriter VS BinaryRequestWriter

2015-11-06 Thread Vincenzo D'Amore
Hi Alessandro, I have followed your same path, having a look at java source. I inherited an installation with CloudSolrServer (I still had solrcloud 4.8) but I was not sure it was the right choice instead of the (apparently) more appealing ConcurrentUpdateSolrClient. As far as I understood, Concu

[SolrJ Clients] RequestWriter VS BinaryRequestWriter

2015-11-05 Thread Alessandro Benedetti
Hi guys, I was taking a look to the implementation details to understand how Solr requests are written by SolrJ APIs. The interesting classes are : *org.apache.solr.client.solrj.request.RequestWriter* *org.apache.solr.client.solrj.impl.BinaryRequestWriter* ( wrong package ? ) I discovered that :