2013-05-09 60 views
4

我想在我的项目中执行备份和恢复过程。我使用snapshotdeletionpolicy将我的索引热备份到另一个位置。如何在lucene中进行inceremental备份?

是否可以在lucene中进行增量备份? (例如:如果我在lucene中添加了100个文档,而不是在备份位置备份时如何更新这些索引)

如果是这样,我应该如何实现这一目标? snapshotdeletionpolicy会帮我做这个吗?

+0

看起来好像是你的包裹一个SnapshotDeletionPolicy ['PersistentSnapshotDeletionPolicy']( http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/index/PersistentSnapshotDeletionPolicy.html)可能会帮助你。不完全确定这是你想要的,但值得一看。 – femtoRgon 2013-05-09 15:27:50

回答