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 to goes down, whereas CloudSolrServer will compensate if any
node goes down.

Best,
Erick

On Fri, Apr 17, 2015 at 2:39 AM, Andrea Gazzarini <a.gazzar...@gmail.com> wrote:
> 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 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
>>
>>
>>
>

Reply via email to