Thanks :) -----Original Message----- From: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 4:31 PM To: solr-user@lucene.apache.org Subject: Re: master/slave configuration
Hi Pragati, Query fired on master will only run on master. You need to query master/slave separately. Usually, people use a load balancer in front of the slaves to distribute queries and master is (usually) used only for indexing and the replication scripts automatically sync the slave with the new data once commit/optimize is done. Take a look at http://wiki.apache.org/solr/CollectionDistribution for more details. On Thu, Sep 4, 2008 at 4:19 PM, Pragati Jain <[EMAIL PROTECTED]>wrote: > Hi All! > > > > I am new to Solr. I wanted to know in detail about master/slave setup. > > > > I have configured master and slave servers but still not clear about how it > works. I have setup only one slave. > > What I have understood is that when the query is fired over a master > server, > master server will pass it to the slave server which will process the query > but in my case master itself is serving the query. > > > > I have set up master and server through manually running all the scripts. > Data is correctly indexed in both master and slave servers. > > > > Is there any change required in solrconfig.xml also to actually make them > update servers and query servers. > > > > Thanks in advance!! > > -- Regards, Shalin Shekhar Mangar.