RE: HttpSolrServer and CloudSolrServer

2015-04-18 Thread Vijay Bhoomireddy
Thanks Andrea and Erick. It helped my understanding. Thanks & Regards Vijay -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: 17 April 2015 17:27 To: solr-user@lucene.apache.org Subject: Re: HttpSolrServer and CloudSolrServer Additionally when inde

Re: HttpSolrServer and CloudSolrServer

2015-04-17 Thread Erick Erickson
Additionally when indexing, CloudSolrServer collects up the documents for each shard and routes them to the leader for that shard, moving that processing away from whatever node you happen so contact using HttpSolrServer. Finally, HttpSolrServer is a single point of failure if the node you point t

Re: HttpSolrServer and CloudSolrServer

2015-04-17 Thread Andrea Gazzarini
If you're using SolrCloud then you should use CloudSolrServer as it is able to abstract / hide the interaction with the cluster. HttpSolrServer communicates directly with a Solr instance. Best, Andrea On 04/17/2015 10:59 AM, Vijay Bhoomireddy wrote: Hi All, Good Morning!! For Solr

HttpSolrServer and CloudSolrServer

2015-04-17 Thread Vijay Bhoomireddy
Hi All, Good Morning!! For SolrCloud deployment, for indexing data through SolrJ, which is the preferred / correct SolrServer class to use? HttpSolrServer of CloudSolrServer? In case both can be used, when to use which? Any help please. Thanks & Regards Vijay -- The contents of t