wha is the problem. Is the replication not happening after you do a commit on the master? frequent polling is not a problem. frequent commits can slow down the system
On Fri, Feb 19, 2010 at 2:41 PM, giskard <gisk...@autistici.org> wrote: > Ciao, > > Uhm after some time a new index in data/index on the slave has been written > with the ~size of the master index. > > the configure on both master slave is the same one on the solrReplication > wiki page > "enable/disable master/slave in a node" > > <requestHandler name="/replication" class="solr.ReplicationHandler" > > <lst name="master"> > <str name="enable">${enable.master:false}</str> > <str name="replicateAfter">commit</str> > <str name="confFiles">schema.xml,stopwords.txt</str> > </lst> > <lst name="slave"> > <str name="enable">${enable.slave:false}</str> > <str name="masterUrl">http://localhost:8983/solr/replication</str> > <str name="pollInterval">00:00:60</str> > </lst> > </requestHandler> > > When the master is started, pass in -Denable.master=true and in the slave > pass in -Denable.slave=true. Alternately , these values can be stored in a > solrcore.properties file as follows > > #solrcore.properties in master > enable.master=true > enable.slave=false > > Il giorno 19/feb/2010, alle ore 03.43, Otis Gospodnetic ha scritto: > >> giskard, >> >> Is this on the master or on the slave(s)? >> Maybe you can paste your replication handler config for the master and your >> replication handler config for the slave. >> >> Otis >> ---- >> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch >> Hadoop ecosystem search :: http://search-hadoop.com/ >> >> >> >> >> ________________________________ >> From: giskard <gisk...@autistici.org> >> To: solr-user@lucene.apache.org >> Sent: Thu, February 18, 2010 12:16:37 PM >> Subject: replications issue >> >> Hi all, >> >> I've setup solr replication as described in the wiki. >> >> when i start the replication a directory called index.$numebers is created >> after a while >> it disappears and a new index.$othernumbers is created >> >> index/ remains untouched with an empty index. >> >> any clue? >> >> thank you in advance, >> Riccardo >> >> -- >> ciao, >> giskard > > -- > ciao, > giskard > > > > -- ----------------------------------------------------- Noble Paul | Systems Architect| AOL | http://aol.com