Package com.atlassian.confluence.search
Class ReIndexTask
- java.lang.Object
-
- com.atlassian.confluence.search.ReIndexTask
-
-
Constructor Summary
Constructors Constructor 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, List<String> spaceKeys, EnumSet<ReIndexOption> options, int jobID)
ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, List<String> spaceKeys, EnumSet<ReIndexOption> options, Optional<SearchQuery> searchQuery, int jobID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCompactElapsedTime()
int
getJobID()
String
getName()
Progress
getProgress()
long
getStartTime()
boolean
isFinishedReindexing()
void
run()
-
-
-
Constructor Detail
-
ReIndexTask
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, EnumSet<ReIndexOption> options, int jobID)
- Parameters:
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.
-
ReIndexTask
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, EnumSet<ReIndexOption> options, Optional<SearchQuery> searchQuery, int jobID)
- Parameters:
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.- Since:
- 5.10
-
ReIndexTask
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, List<String> spaceKeys, EnumSet<ReIndexOption> options, int jobID)
- Since:
- 8.2.0
-
ReIndexTask
public ReIndexTask(ReIndexer reIndexer, SearchableDao searchableDao, List<String> spaceKeys, EnumSet<ReIndexOption> options, Optional<SearchQuery> searchQuery, int jobID)
- Parameters:
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.- Since:
- 8.2.0
-
-