Class SearchIndexerAdapter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.searchindexer.SearchIndexerAdapter
-
public class SearchIndexerAdapter extends Object
Adapter providing convenient access to Confluence search operations. Used by XML restore.- Since:
- 8.2.0
-
-
Constructor Summary
Constructors Constructor Description SearchIndexerAdapter(ContentIndexTaskQueue contentIndexTaskQueue, ChangeIndexTaskQueue changeIndexTaskQueue, JournalManager journalManager, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, IndexManager indexManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reIndexAll()
Reindexes all content.void
reindexObjectsAsync(ParallelTasksExecutor parallelTasksExecutor, Collection<ImportedObjectV2> importedObjects)
Generates records for journal (tasks for both main and change index).void
unIndexAll()
Unindexes all content.
-
-
-
Constructor Detail
-
SearchIndexerAdapter
public SearchIndexerAdapter(ContentIndexTaskQueue contentIndexTaskQueue, ChangeIndexTaskQueue changeIndexTaskQueue, JournalManager journalManager, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, IndexManager indexManager, com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
reindexObjectsAsync
public void reindexObjectsAsync(ParallelTasksExecutor parallelTasksExecutor, Collection<ImportedObjectV2> importedObjects)
Generates records for journal (tasks for both main and change index).- Parameters:
parallelTasksExecutor
-importedObjects
- object to reindex
-
unIndexAll
public void unIndexAll()
Unindexes all content.
-
reIndexAll
public void reIndexAll()
Reindexes all content.
-
-