Taking backup of a Lucene index

2013-04-17 Thread Ashish Sarna
I want to take back-up of a Lucene index. I need to ensure that index files would not change when I take their backup. I am concerned about the housekeeping/merge/optimization activities which Lucene performs internally. I am not sure when/how these activities are performed by Lucene and how w

Re: Taking backup of a Lucene index

2013-04-17 Thread Thomas Matthijs
On Wed, Apr 17, 2013 at 12:57 PM, Ashish Sarna wrote: > I want to take back-up of a Lucene index. I need to ensure that index files > would not change when I take their backup. > > > I am concerned about the housekeeping/merge/optimization activities which > Lucene performs internally. I am not

Re: Taking backup of a Lucene index

2013-04-17 Thread Michael McCandless
On Wed, Apr 17, 2013 at 7:02 AM, Thomas Matthijs wrote: > On Wed, Apr 17, 2013 at 12:57 PM, Ashish Sarna wrote: > >> I want to take back-up of a Lucene index. I need to ensure that index files >> would not change when I take their backup. >> > > >> >> I am concerned about the housekeeping/merge/op

RE: Taking backup of a Lucene index

2013-04-17 Thread Ashish Sarna
Thanks for your replies. However, in my scenario, an external backup utility would be used to take backup of the Lucene index. I just need to ensure that index do not get changed when a search is performed over it or due to internal Lucene housekeeping/optimization/merge activities. Ashish --

Re: Taking backup of a Lucene index

2013-04-17 Thread Michael McCandless
On Wed, Apr 17, 2013 at 7:32 AM, Ashish Sarna wrote: > Thanks for your replies. > > However, in my scenario, an external backup utility would be used to take > backup of the Lucene index. I just need to ensure that index do not get > changed when a search is performed over it or due to internal Lu

RE: Taking backup of a Lucene index

2013-04-17 Thread Ashish Sarna
The external backup utility would be used by some other person and it would simply copy the index directory to take its backup. I have no control over this utility. I have ensured that nothing would be written to index before the backup utility is executed and now just need to ensure that it does

Re: Taking backup of a Lucene index

2013-04-17 Thread Hien Luu
It is difficult to associate a class named SnapshotDeletionPolicy with taking backup of Lucene index. Hien From: Thomas Matthijs To: java-user@lucene.apache.org Sent: Wednesday, April 17, 2013 4:02 AM Subject: Re: Taking backup of a Lucene index On Wed, Ap