【发布时间】:2011-08-19 08:38:26
【问题描述】:
在不使索引脱机(热备份)的情况下备份 lucene 索引的最佳做法是什么?
【问题讨论】:
-
Lucene 在行动中规定了一种使用 SnapshotDeletionPolicy 的方法,但没有解释更多。也就是说,虽然已经通过 SnapshotDeletionPolicy 获得了 IndexWriter,但其他 IndexWriter 可以写入索引吗?如果没有,“this”IndexWriter 可以写入索引吗?