Constructor and Description |
---|
LuceneReIndexer(AnyTypeDao anyTypeDao,
SearchableDao searchableDao,
org.springframework.transaction.PlatformTransactionManager transactionManager,
IndexTaskFactory indexTaskFactory,
com.atlassian.bonnie.ILuceneConnection luceneConnection,
LuceneSearchMapper luceneSearchMapper,
com.atlassian.event.api.EventPublisher eventPublisher) |
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 LuceneReIndexer(AnyTypeDao anyTypeDao, SearchableDao searchableDao, org.springframework.transaction.PlatformTransactionManager transactionManager, IndexTaskFactory indexTaskFactory, com.atlassian.bonnie.ILuceneConnection luceneConnection, LuceneSearchMapper luceneSearchMapper, com.atlassian.event.api.EventPublisher eventPublisher)
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–2020 Atlassian. All rights reserved.