If you use cron, you should use the new "-c" option of snapshooter which only takes a snapshot where there have been changes. My personal preference is to use postCommit and postOptimize event listeners.
Bill On Wed, Oct 1, 2008 at 4:28 AM, sunnyfr <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Do you think it works better automaticly by solr after commit, fire > snapshooter or start cron job. > > Thanks, > > > hossman_lucene wrote: > > > > > > : I want to run 3 to 4 instances of solr on different machines. the > > other > > : servers will be replicatin the index from the single server. > > : how is that done and what options needed to modifies or added to > config > > : xml file of solr. > > > > I would start by looking at these wiki pages... > > > > http://wiki.apache.org/solr/CollectionDistribution > > http://wiki.apache.org/solr/SolrCollectionDistributionOperationsOutline > > > > ...they explain everything you need to know about how the > > creation/replication/installation of snapshots works. then if you look > at > > the example solrconfig.xml you'll see where the event listeners for > > "snapshooter" are commented out ... just decide wether you want to create > > snapshoots on each commit, or just after an optimize, and uncomment the > > appropriate code. > > > > > > > > -Hoss > > > > > > > > -- > View this message in context: > http://www.nabble.com/Replication-on-solr-tp5780286p19756456.html > Sent from the Solr - User mailing list archive at Nabble.com. > >