Interface IndexRecoverer
- All Known Implementing Classes:
ChangeIndexRecoverer
,ContentIndexRecoverer
,EdgeIndexRecoverer
Deprecated.
since 7.0.1, there is no substitution for it.
Provides lucene index operations to be used when trying to recover an out of date or invalid index
- Since:
- 5.8
-
Method Summary
-
Method Details
-
snapshot
Deprecated.Allows taking a snapshot of the index.The snapshot should be taken in a safe way to prevent any write while it is copying index files over to the destination directory. Suggestions include to use LuceneConnection#snapshot(Directory) method or alternatively to take the snapshot with SnapshotDeletionPolicy.
- Parameters:
destDir
- directory in which the snapshot should be saved- Throws:
IOException
-
reset
Deprecated.Closes the reader and the writer and create new ones.- Parameters:
replaceIndex
- method that should be executed before the index has been closed and before the index has been reopened
-
reindex
void reindex()Deprecated.Trigger a reindex
-