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 class
Holds contextual state for a specific reindex run -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.atlassian.confluence.internal.index.BatchIndexerFactory
protected final SearchIndexAccessor
protected final SearchIndexAccessor
static final int
protected final com.atlassian.event.api.EventPublisher
protected final JournalManager
protected final JournalService
static final String
protected 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 TypeMethodDescriptionvoid
reIndex
(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress) Triggers a system wide re-index all entities loaded from searchQuery.protected void
reIndex
(EnumSet<ReIndexOption> maybeOptions, AbstractReindexer.Context ctx) void
reIndex
(EnumSet<ReIndexOption> maybeOptions, Progress progress) Triggers a system wide re-index all entities from the database.void
Triggers 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, wait
Methods 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:Reindexer
Triggers 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:Reindexer
Triggers a system wide re-index all entities loaded from searchQuery. -
reIndex
Description copied from interface:Reindexer
Triggers a re-index all entities from a space.
-