public interface RepositoryIndexer
RepositoryIndexer, all
methods of this interface (and sub-interfaces) will throw
IllegalStateException.
All methods that perform indexing are non-blocking. Indexing is performed
as a background task and progress can be monitored via getIndexingStatus().
| Modifier and Type | Method and Description |
|---|---|
RepositoryIndexingStatus |
getIndexingStatus()
Returns a snapshot of the status of the indexer.
|
RepositoryIndexingStatus |
startChangesetCommentReindexing()
Reindex the data used to show changeset discussions in activity streams
|
RepositoryIndexingStatus |
startFullReindexing()
Delete all the existing indexes for the repository, and start the repository
(which will cause the initial full index to start).
|
RepositoryIndexingStatus |
startIncrementalIndexing()
Perform an incremental indexing, or, if the repository has not yet been
indexed, performs a full indexing.
|
RepositoryIndexingStatus |
startLineCountReindexing()
Reindex the data used to generate lines of code (LOC) charts.
|
RepositoryIndexingStatus getIndexingStatus()
RepositoryIndexingStatus startFullReindexing() throws RepositoryConfigException
java.lang.IllegalStateException - if the repository is not RepositoryState.STOPPEDRepositoryConfigException - if there was a problem restarting the repositoryRepositoryIndexingStatus startIncrementalIndexing()
RepositoryIndexingStatus startLineCountReindexing()
RepositoryIndexingStatus startChangesetCommentReindexing()