Constructor and Description |
---|
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
Set<ReIndexOption> options,
int jobID) |
ReIndexTask(ReIndexer reIndexer,
SearchableDao searchableDao,
Set<ReIndexOption> options,
SearchQuery luceneQuery,
int jobID) |
Modifier and Type | Method and Description |
---|---|
String |
getCompactElapsedTime() |
int |
getJobID() |
String |
getName() |
Progress |
getProgress() |
boolean |
isFinishedReindexing() |
void |
run() |
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, Set<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.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.Copyright © 2003–2016 Atlassian. All rights reserved.