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(AnyTypeDao anyTypeDao,
SearchableDao searchableDao,
org.springframework.transaction.PlatformTransactionManager transactionManager,
IndexTaskFactory indexTaskFactory,
com.atlassian.bonnie.ILuceneConnection contentConnection,
com.atlassian.bonnie.ILuceneConnection changeConnection,
MultiConnection multiConnection,
LuceneSearchMapper luceneSearchMapper,
com.atlassian.event.api.EventPublisher eventPublisher,
ClusterManager clusterManager,
SystemMaintenanceTaskQueue systemMaintenanceTaskQueue) |
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(AnyTypeDao anyTypeDao, SearchableDao searchableDao, org.springframework.transaction.PlatformTransactionManager transactionManager, IndexTaskFactory indexTaskFactory, com.atlassian.bonnie.ILuceneConnection contentConnection, com.atlassian.bonnie.ILuceneConnection changeConnection, MultiConnection multiConnection, LuceneSearchMapper luceneSearchMapper, com.atlassian.event.api.EventPublisher eventPublisher, ClusterManager clusterManager, SystemMaintenanceTaskQueue systemMaintenanceTaskQueue)
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–2021 Atlassian. All rights reserved.