Re: Lucene IndexDeletionPolicy + snapshots

2016-04-07 Thread Shalin Shekhar Mangar
Look at PersistentSnapshotDeletionPolicy which does almost exactly what you want. On Fri, Apr 8, 2016 at 10:44 AM, Hrishikesh Gadre wrote: > This in the context of providing backup/restore operation for SolrCloud > (on HDFS). The copy operation is unavoidable in case Solr

Re: Lucene IndexDeletionPolicy + snapshots

2016-04-07 Thread Hrishikesh Gadre
This in the context of providing backup/restore operation for SolrCloud (on HDFS). The copy operation is unavoidable in case Solr is using local filesystem and backup is being written on a shared file-system. But in case of HDFS, I am wondering if we can avoid the copy operation by using

Lucene IndexDeletionPolicy + snapshots

2016-04-07 Thread Hrishikesh Gadre
Hello, IndexDeletionPolicy in Lucene enables users to configure when the stale Index commits should be deleted. Currently Solr uses this support to "reserve" a commit point while the relevant segment files are being copied as part of the backup operation. This reservation information is stored