Constructor and Description |
---|
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
EnumSet<ReIndexOption> options,
int jobID) |
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
EnumSet<ReIndexOption> options,
Optional<SearchQuery> searchQuery,
int jobID) |
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
Set<ReIndexOption> options,
SearchQuery luceneQuery,
int jobID)
Deprecated.
since 5.10
|
Modifier and Type | Method and Description |
---|---|
String |
getCompactElapsedTime() |
int |
getJobID() |
String |
getName() |
Progress |
getProgress() |
boolean |
isFinishedReindexing() |
void |
run() |
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, EnumSet<ReIndexOption> options, int jobID)
reIndexer
- The re-indexer to use.searchableDao
- The data access object for searchable entities.options
- Optional. Allows a subset of all searchable content to be re-indexed.jobID
- the identifier for this task.@Deprecated public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, Set<ReIndexOption> options, SearchQuery luceneQuery, int jobID)
reIndexer
- The re-indexer to use.searchableDao
- The data access object for searchable entities.options
- Optional. Allows a subset of all searchable content to be re-indexed.luceneQuery
- Optional. A lucene query that may be used to load the entities to be re-indexed.
Pass null to index all entities from the database.jobID
- the identifier for this task.public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, EnumSet<ReIndexOption> options, Optional<SearchQuery> searchQuery, int jobID)
reIndexer
- The re-indexer to use.searchableDao
- The data access object for searchable entities.options
- Optional. Allows a subset of all searchable content to be re-indexed.searchQuery
- Optional. A query that may be used to load the entities to be re-indexed.
Pass null to index all entities from the database.jobID
- the identifier for this task.Copyright © 2003–2017 Atlassian. All rights reserved.