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
Modifier and TypeMethodDescriptionvoid
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 Details
-
onObjectsPersisting
void onObjectsPersisting(Collection<ImportedObjectV2> importedObjects) throws BackupRestoreException A consumer accepting persisted objects. Objects have database IDs.- Throws:
BackupRestoreException
-
flush
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
-