2013-05-09 95 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

回答