Interface OnRestoreSearchIndexer
-
- All Known Implementing Classes:
OnRestoreSiteSearchIndexer
,OnRestoreSpaceSearchIndexer
public interface OnRestoreSearchIndexer
Responsible for indexing of inserted entites on XML restore.- Since:
- 8.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
It is called when all searchable objects are persisted so the indexer can finish its job.void
onObjectsPersisting(Collection<ImportedObjectV2> importedObjects)
A consumer accepting persisted objects.
-
-
-
Method Detail
-
onObjectsPersisting
void onObjectsPersisting(Collection<ImportedObjectV2> importedObjects) throws BackupRestoreException
A consumer accepting persisted objects. Objects have database IDs.- Throws:
BackupRestoreException
-
flush
void flush() throws BackupRestoreException
It is called when all searchable objects are persisted so the indexer can finish its job. This method can be called when not all historical versions are persisted.- Throws:
BackupRestoreException
-
-