Interface OnRestoreSearchIndexer
-
- All Known Implementing Classes:
OnRestoreSiteSearchIndexer,OnRestoreSpaceSearchIndexer
public interface OnRestoreSearchIndexerResponsible 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 voidflush()It is called when all searchable objects are persisted so the indexer can finish its job.voidonObjectsPersisting(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 BackupRestoreExceptionIt 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
-
-