lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <>
Subject Re: Can a Solr Server be both master and slave?
Date Mon, 16 Aug 2010 17:57:44 GMT
On Mon, 16 Aug 2010 10:43:38 -0700
Amit Nithian <> wrote:

> I am not sure if this is the best approach to this problem but I
> was curious if a single solr server could be both a master and a
> slave without causing index corruption? It seems that you could
> setup multiple replication handlers in the SOLR
> config, /replication /replication2 and have one be master and
> another be a slave syncing from another server. Here's why: 1) I
> want to build an index using data stored in our own local
> datacenter generated using M/R and our MySQL DB 2) This index
> would be synced with a Solr Master sitting in EC2 3) Series of
> EC2 solr slaves replicate from EC2 Solr master for scaling
> purposes.

Have you taken a look at the replication page on the Solr Wiki?
A repeater seems to address exactly your use case:


View raw message