lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hien Luu <h...@yahoo.com>
Subject Re: Taking backup of a Lucene index
Date Thu, 18 Apr 2013 04:32:22 GMT
It is difficult to associate a class named SnapshotDeletionPolicy with taking backup of Lucene
index.

Hien


________________________________
 From: Thomas Matthijs <lists@selckin.be>
To: java-user@lucene.apache.org 
Sent: Wednesday, April 17, 2013 4:02 AM
Subject: Re: Taking backup of a Lucene index
 

On Wed, Apr 17, 2013 at 12:57 PM, Ashish Sarna <ashish.sarna@thepsi.com>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 sure when/how these activities are
> performed by Lucene and how we can prevent them.
>
>

Use a
http://lucene.apache.org/core/4_2_1/core/org/apache/lucene/index/SnapshotDeletionPolicy.html
Take a snapshot, backup/copy all the files in the commit, relase the
snapshot
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message