@LuceneIndependent @Internal public class LuceneReIndexer extends Object implements ReIndexer
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_REINDEX_PARTITION_SIZE_MAX |
static Set<Index> |
INDEXES_TO_SNAPSHOT |
static String |
KEY_REINDEX_PARTITION_SIZE_MAX |
Constructor and Description |
---|
LuceneReIndexer(SearchableDao searchableDao,
SearchIndexAccessor contentIndexAccessor,
SearchIndexAccessor changeIndexAccessor,
com.atlassian.event.api.EventPublisher eventPublisher,
ClusterManager clusterManager,
SystemMaintenanceTaskQueue systemMaintenanceTaskQueue,
com.atlassian.confluence.internal.index.lucene.BatchIndexerFactory batchIndexerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
reIndex(EnumSet<ReIndexOption> maybeOptions,
Progress progress)
Triggers a system wide re-index all entities from the database.
|
void |
reIndex(EnumSet<ReIndexOption> maybeOptions,
@NonNull SearchQuery searchQuery,
Progress progress)
Triggers a system wide re-index re-index all entities loaded from searchQuery.
|
void |
reIndex(ReIndexSpec spec,
Progress progress)
Trigger reindex large amount of content entities accoding to the given specification.
|
public static final String KEY_REINDEX_PARTITION_SIZE_MAX
public static final int DEFAULT_REINDEX_PARTITION_SIZE_MAX
public LuceneReIndexer(SearchableDao searchableDao, SearchIndexAccessor contentIndexAccessor, SearchIndexAccessor changeIndexAccessor, com.atlassian.event.api.EventPublisher eventPublisher, ClusterManager clusterManager, SystemMaintenanceTaskQueue systemMaintenanceTaskQueue, com.atlassian.confluence.internal.index.lucene.BatchIndexerFactory batchIndexerFactory)
public void reIndex(EnumSet<ReIndexOption> maybeOptions, Progress progress)
ReIndexer
public void reIndex(EnumSet<ReIndexOption> maybeOptions, @NonNull SearchQuery searchQuery, Progress progress)
ReIndexer
public void reIndex(ReIndexSpec spec, Progress progress)
ReIndexer
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences