Ok Peter for script-based replication; I forgot to mention I already verified that mechanism.
When I configure the slave as follows <requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="slave"> <str name="masterUrl">http://localhost:8983/solr/admin/replication</str> <str name="pollInterval">00:00:20</str> ... </lst> </requestHandler> SOLR uses the org.apache.solr.handler.ReplicationHandler to access every 20s the masterUrl via http. My question is: is it possible to use another ReplicationHandler that polls the master by pointing directly to its SOLR home? I mean, is technically feasible? Please correct me if I am not clear. Thanks. -- 2010/3/9 Peter Sturge <peter.stu...@googlemail.com> > The SolrEmbededServer doesn't have any http, and so you can't use the http > replication. > You can use the script-based replication if you're on LUNIX. See: > http://wiki.apache.org/solr/CollectionDistribution > > It would be worth looking at using Solr in a Jetty container and using the > http replication, it is really awesome. > > > > On Tue, Mar 9, 2010 at 5:27 PM, Dino Di Cola <dinodic...@gmail.com> wrote: > > > Dear all, I am trying to setup a master/slave index replication > > with two slaves embedded in a tomcat cluster and a master kept in a > > separate > > machine. > > I would like to know if is it possible to configure slaves with a > > ReplicationHandler able to access master > > by starting an embedded server instead of using http communication. > > > > I understand that HTTP is the preferred way to work with solr, > > but for some annoying reasons I cannot startup another http server. Thus, > I > > wonder to know if (and possibly how) > > this approach can be technically 'feasible', already conscious that it > > cannot be definitively 'reasonable'... :) > > > > Many thanks for the support, > > Dino. > > -- > > >