: i am taking snapshots of my master index after optimize calls (run each

please define what you mean by "taking snapshots" -- the replication 
handler has no "snapshot" command that i know of.  Are you using the 
old "snapshooter" scripts from Solr 1.4 style replication, or are you 
doing something else outside of Solr?

: day once), to get a clean backup of the index.

If your goal is to create backups, use the "backup" command of the 
replication handler.

: Is there a parameter to tell the replication handler how many snapshots
: to keep and the rest should be deleted? Or must i use a custom script
: via cron?

As of Solr 3.5 the backup command supports a "numberToKeep" param...

https://wiki.apache.org/solr/SolrReplication#HTTP_API


-Hoss

Reply via email to