Re: LoadBalancing while adding documents

2013-02-12 Thread J Mohamed Zahoor
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 wrote: > > On 13-Feb-2013, at 8:11 AM, Erick Erickson wrote: > >> Hold on here. LBHttpSolrServer should not be used for indexing in a >> Master/

Re: LoadBalancing while adding documents

2013-02-12 Thread J Mohamed Zahoor
On 13-Feb-2013, at 8:11 AM, Erick Erickson 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 alr

Re: LoadBalancing while adding documents

2013-02-12 Thread Erick Erickson
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. Now, why would you want to send requests to both servers? If you're in master/slave mode (i.e. not running Zookee

LoadBalancing while adding documents

2013-02-12 Thread J Mohamed Zahoor
Hi I have multi shard replicated index spread across two machines. Once a week, i delete the entire index and create it from scratch. Today i am using ConcurrentUpdateSolrServer in solrj to add documents to the index. I want to add documents through both the servers.. to utilise the resources.