Ooh.. I dint know that there is CloudSolrServer.
Thanks for the pointer.
Will explore that.

./zahoor


On 13-Feb-2013, at 11:49 AM, J Mohamed Zahoor <zah...@indix.com> wrote:

> 
> On 13-Feb-2013, at 8:11 AM, Erick Erickson <erickerick...@gmail.com> wrote:
> 
>> Hold on here. LBHttpSolrServer should not be used for indexing in a
>> Master/Slave setup, but in SolrCloud you may use it. Indeed,
>> CloudSolrServer uses LBHttpSolrServer under the covers.
> 
> In SolrCloud mode, ConcurrentUpdateSolrServer will already do the 
> LoadBalacing while adding and querying documents from Solr. 
> is my understanding right?
> 
> 
> 
>> 
>> Now, why would you want to send requests to both servers?
> 
> 
> I just wanted to send some docs to machine1 and some docs to machine2 to load 
> balance.
> Not the same doc to both the machines.
> 
> 
>> If you're in
>> master/slave mode (i.e. not running Zookeeper), you _must_ send the update
>> to the right master. If you're in SolrCloud mode, you don't care. You have
>> to send each document to Solr only once. In Master/Slave mode, you must
>> send it to the correct master. In SolrCloud mode you don't care where you
>> send it, it'll be routed to the right place.
>> 
> 
> I am in SolrCloud mode. 
> I always send it to one of the server. And if i get you right, they will 
> automatically loadBalance is what i take.
> 
> 
> ./Zahoor
> 

Reply via email to