@InjectableComponent @PublicApi public interface IssueIndexingService
IssueIndexManager that previously provided
those services.| Modifier and Type | Method and Description |
|---|---|
void |
deIndex(Issue issue)
Remove an issue from the search index.
|
void |
deIndex(Project project,
boolean updateReplicatedIndexStore)
Deindexing issues from a given project
|
void |
deIndexIssueObjects(Set<Issue> issuesToDelete,
boolean updateReplicatedIndexStore)
Remove a set of issues from the search index.
|
void |
reIndex(Issue issue)
Reindex an issue (eg.
|
void |
reIndex(Issue issue,
IssueIndexingParams issueIndexingParams)
Reindex an issue (eg.
|
long |
reIndexAll()
Reindex all issues.
|
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
boolean updateReplicatedIndexStore)
Reindex all issues.
|
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
IssueIndexingParams issueIndexingParams,
boolean updateReplicatedIndexStore)
Reindex all issues.
|
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)
Reindex a set of issues.
|
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
IssueIndexingParams issueIndexingParams)
Reindex a set of issues.
|
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
IssueIndexingParams issueIndexingParams,
boolean updateReplicatedIndexStore)
Reindex a set of issues.
|
long |
reIndexIssues(IssuesIterable issuesIterable,
Context context)
Reindex a list of issues, passing an optional event that will be set progress
|
long |
reIndexIssues(IssuesIterable issuesIterable,
Context context,
IssueIndexingParams issueIndexingParams)
Reindex a list of issues, passing an optional event that will be set progress.
|
long |
reIndexWorklogs(Collection<Worklog> worklogs)
Reindexes a collection of worklogs.
|
long |
reIndexWorklogs(Collection<Worklog> worklogs,
Context context)
Reindexes a collection of worklogs.
|
long |
reIndexWorklogs(Collection<Worklog> worklogs,
Context context,
boolean updateReplicatedIndexStore)
Reindexes a collection of worklogs.
|
long reIndexAll()
throws IndexException
IndexExceptionlong reIndexAll(Context context, boolean useBackgroundReindexing, boolean updateReplicatedIndexStore) throws IndexException
context - used to report progress back to the user or to the logs. Must not be nulluseBackgroundReindexing - whether to index in the background or not. If the useBackgroundReindexing option
is set to true, then all related fields will not be reindexed.updateReplicatedIndexStore - whether to update the replicated index or notIndexExceptionlong reIndexAll(Context context, boolean useBackgroundReindexing, IssueIndexingParams issueIndexingParams, boolean updateReplicatedIndexStore) throws IndexException
context - used to report progress back to the user or to the logs. Must not be nulluseBackgroundReindexing - whether to index in the background or notissueIndexingParams - determines witch related objects should be indexed together with issues. Only relevant
for background reindex operations.updateReplicatedIndexStore - whether to update the replicated index or notIndexExceptionlong reIndexIssues(IssuesIterable issuesIterable, Context context) throws IndexException
issuesIterable - IssuesIterablecontext - used to report progress back to the user or to the logs. Must not be null.IndexExceptionlong reIndexIssues(IssuesIterable issuesIterable, Context context, IssueIndexingParams issueIndexingParams) throws IndexException
issuesIterable - IssuesIterablecontext - used to report progress back to the user or to the logs. Must not be null.issueIndexingParams - determines witch related objects should be indexed together with issue.IndexExceptionvoid reIndex(Issue issue) throws IndexException
IndexExceptionvoid reIndex(Issue issue, IssueIndexingParams issueIndexingParams) throws IndexException
IndexExceptionlong reIndexComments(Collection<Comment> comments) throws IndexException
comments - a collection of CommentIndexExceptionlong reIndexComments(Collection<Comment> comments, Context context) throws IndexException
comments - a collection of Commentcontext - used to report progress back to the user or to the logs. Must not be null.IndexExceptionlong reIndexComments(Collection<Comment> comments, Context context, boolean updateReplicatedIndexStore) throws IndexException
comments - a collection of Commentcontext - used to report progress back to the user or to the logs. Must not be null.updateReplicatedIndexStore - whether to update the replicated index or notIndexExceptionlong reIndexWorklogs(Collection<Worklog> worklogs) throws IndexException
worklogs - a collection of WorklogsIndexExceptionlong reIndexWorklogs(Collection<Worklog> worklogs, Context context) throws IndexException
worklogs - a collection of Worklogscontext - used to report progress back to the user or to the logs. Must not be null.IndexExceptionlong reIndexWorklogs(Collection<Worklog> worklogs, Context context, boolean updateReplicatedIndexStore) throws IndexException
worklogs - a collection of Worklogscontext - used to report progress back to the user or to the logs. Must not be null.updateReplicatedIndexStore - whether to update the replicated index or notIndexExceptionvoid deIndex(Issue issue) throws IndexException
IndexExceptionvoid deIndexIssueObjects(Set<Issue> issuesToDelete, boolean updateReplicatedIndexStore) throws IndexException
IndexExceptionlong reIndexIssueObjects(Collection<? extends Issue> issueObjects) throws IndexException
issueObjects - Set of Issues to reindex.IndexExceptionlong reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams) throws IndexException
issueObjects - Set of Issues to reindex.issueIndexingParams - Determines witch related objects should be indexed together with issues.IndexExceptionlong reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams, boolean updateReplicatedIndexStore) throws IndexException
issueObjects - Set of Issues to reindex.issueIndexingParams - Determines witch related objects should be indexed together with issues.updateReplicatedIndexStore - whether to store index operations in the replicated index storeIndexExceptionvoid deIndex(Project project, boolean updateReplicatedIndexStore)
project - project objectupdateReplicatedIndexStore - whether to store index operations in the replicated index storeCopyright © 2002-2018 Atlassian. All Rights Reserved.