lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pragati Jain" <pragati_j...@persistent.co.in>
Subject RE: master/slave configuration
Date Thu, 04 Sep 2008 11:05:57 GMT
Thanks :) 

-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinmangar@gmail.com] 
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
<pragati_jain@persistent.co.in>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.


Mime
View raw message