Class AbstractReindexer
java.lang.Object
com.atlassian.confluence.internal.index.AbstractReindexer
- All Implemented Interfaces:
Reindexer
- Direct Known Subclasses:
BlueGreenReindexer,PropagableReindexer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classHolds contextual state for a specific reindex run -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.atlassian.confluence.internal.index.BatchIndexerFactoryprotected final SearchIndexAccessorprotected final SearchIndexAccessorstatic final intprotected final com.atlassian.event.api.EventPublisherprotected final JournalManagerprotected final JournalServicestatic final Stringprotected final SearchableDao -
Constructor Summary
ConstructorsConstructorDescriptionAbstractReindexer(SearchableDao searchableDao, SearchIndexAccessor contentIndexAccessor, SearchIndexAccessor changeIndexAccessor, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.confluence.internal.index.BatchIndexerFactory batchIndexerFactory, JournalManager journalManager, JournalService journalService) -
Method Summary
Modifier and TypeMethodDescriptionvoidreIndex(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress) Triggers a system wide re-index all entities loaded from searchQuery.protected voidreIndex(EnumSet<ReIndexOption> maybeOptions, AbstractReindexer.Context ctx) voidreIndex(EnumSet<ReIndexOption> maybeOptions, Progress progress) Triggers a system wide re-index all entities from the database.voidTriggers a re-index all entities from a space.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.internal.index.Reindexer
reIndex, shouldSuspendJournalFlush
-
Field Details
-
INDEXES_TO_SET_EARLIEST_ENTRY
-
INDEXES_TO_SNAPSHOT
-
KEY_REINDEX_PARTITION_SIZE_MAX
- See Also:
-
DEFAULT_REINDEX_PARTITION_SIZE_MAX
public static final int DEFAULT_REINDEX_PARTITION_SIZE_MAX- See Also:
-
contentIndexAccessor
-
changeIndexAccessor
-
searchableDao
-
eventPublisher
protected final com.atlassian.event.api.EventPublisher eventPublisher -
batchIndexerFactory
protected final com.atlassian.confluence.internal.index.BatchIndexerFactory batchIndexerFactory -
journalManager
-
journalService
-
-
Constructor Details
-
AbstractReindexer
public AbstractReindexer(SearchableDao searchableDao, SearchIndexAccessor contentIndexAccessor, SearchIndexAccessor changeIndexAccessor, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.confluence.internal.index.BatchIndexerFactory batchIndexerFactory, JournalManager journalManager, JournalService journalService)
-
-
Method Details
-
reIndex
Description copied from interface:ReindexerTriggers a system wide re-index all entities from the database. -
reIndex
-
reIndex
public void reIndex(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress) Description copied from interface:ReindexerTriggers a system wide re-index all entities loaded from searchQuery. -
reIndex
Description copied from interface:ReindexerTriggers a re-index all entities from a space.
-