long
|
activate(Context context)
Activates search indexes.
|
long
|
activate(Context context, boolean reindex)
Activates search indexes.
|
void
|
deIndex(GenericValue entity)
Remove an issue from the search index.
|
void
|
deIndex(Issue issue)
Remove an issue from the search index.
|
void
|
deIndexIssueObjects(Set<Issue> issuesToDelete, boolean updateReplicatedIndexStore)
Remove a set of issues from the search index.
|
void
|
deactivate()
De-activates indexing (as happens from the admin page) and removes index directories.
|
static
void
|
flushThreadLocalSearchers()
|
Collection<String>
|
getAllIndexPaths()
|
Analyzer
|
getAnalyzerForIndexing()
|
Analyzer
|
getAnalyzerForSearching()
|
IndexSearcher
|
getChangeHistorySearcher()
Get an IndexSearcher that can be used to search the change history index.
|
IndexSearcher
|
getCommentSearcher()
Get an IndexSearcher that can be used to search the comment index.
|
List<String>
|
getExistingPluginsPaths()
Returns a collection of Strings, each one representing the absolute path to the actual existing directory where a plugin keeps its
indexes.
|
IndexSearcher
|
getIssueSearcher()
|
String
|
getPluginsRootPath()
Get the root path of the index directory for plugins.
|
void
|
hold()
Temporarily suspend indexing on this thread.
|
boolean
|
isEmpty()
|
boolean
|
isHeld()
Return true if the index is held.
|
boolean
|
isIndexConsistent()
|
boolean
|
isIndexingEnabled()
|
long
|
optimize()
Optimize the underlying indexes.
|
void
|
reIndex(Issue issue)
Reindex an issue (eg.
|
void
|
reIndex(Issue issue, boolean reIndexComments, boolean reIndexChangeHistory)
Reindex an issue (eg.
|
void
|
reIndex(GenericValue issueGV)
Reindex an issue (eg.
|
long
|
reIndexAll()
Reindex all issues.
|
long
|
reIndexAll(Context context, boolean useBackgroundIndexing)
|
long
|
reIndexAll(Context context, boolean useBackgroundIndexing, boolean updateReplicatedIndex)
Reindex all issues.
|
long
|
reIndexAll(Context context, boolean useBackgroundIndexing, boolean reIndexComments, boolean reIndexChangeHistory, boolean updateReplicatedIndex)
Reindex all issues.
|
long
|
reIndexAll(Context context)
Reindex everything.
|
long
|
reIndexAllIssuesInBackground(Context context, boolean reIndexComments, boolean reIndexChangeHistory)
Reindex everything, but don't stop the world
|
long
|
reIndexAllIssuesInBackground(Context context)
Reindex everything, but don't stop the world
Comments and change history will not be reindexed.
|
long
|
reIndexComments(Collection<Comment> comments)
Reindexes a collection of comments.
|
long
|
reIndexComments(Collection<Comment> comments, Context context)
Reindexes a collection of comments.
|
long
|
reIndexComments(Collection<Comment> comments, Context context, boolean updateReplicatedIndexStore)
Reindexes a collection of comments.
|
long
|
reIndexIssueObjects(Collection<? extends Issue> issueObjects, boolean reIndexComments, boolean reIndexChangeHistory, boolean updateReplicatedIndexStore)
Reindex a set of issues.
|
long
|
reIndexIssueObjects(Collection<? extends Issue> issueObjects)
Reindex a set of issues.
|
long
|
reIndexIssueObjects(Collection<? extends Issue> issueObjects, boolean reIndexComments, boolean reIndexChangeHistory)
Reindex a set of issues.
|
long
|
reIndexIssues(Collection<GenericValue> issues, boolean reIndexComments, boolean reIndexChangeHistory)
|
long
|
reIndexIssues(IssuesIterable issuesIterable, Context context, boolean reIndexComments, boolean reIndexChangeHistory)
Reindex a list of issues, passing an optional event that will be set progress.
|
long
|
reIndexIssues(Collection<GenericValue> issues)
Reindex a set of issues (GenericValues).
|
long
|
reIndexIssues(IssuesIterable issuesIterable, Context context)
Reindex a list of issues, passing an optional event that will be set progress
|
long
|
release()
Release indexing on this thread.
|
void
|
shutdown()
Shuts down the indexing manager and closes its resources (if any).
|
int
|
size()
|
String
|
toString()
|