@InjectableComponent @PublicApi public interface IssueIndexingService
IssueIndexManager
that previously provided
those services.Modifier and Type | Method and Description |
---|---|
default void |
deIndex(Issue issue)
Deprecated.
|
void |
deIndex(Project project,
boolean shouldReplicate)
Deindexing issues from a given project
|
void |
deIndex(WithId issueWithId)
Remove an issue from the search index.
|
void |
deIndexComments(Set<WithId> commentsToDelete,
boolean shouldReplicate)
Remove a set of comments from the search index.
|
default void |
deIndexIssueObjects(Set<Issue> issuesToDelete,
boolean shouldReplicate)
Deprecated.
|
void |
deIndexIssueObjectsById(Set<? extends WithId> issuesToDelete,
boolean shouldReplicate)
Remove a set of issues from the search index.
|
void |
deIndexWorklogs(Set<WithId> worklogsToDelete,
boolean shouldReplicate)
Remove a set of worklogs 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 notifyCluster)
Reindex all issues.
|
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
IssueIndexingParams issueIndexingParams,
boolean notifyCluster)
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 shouldReplicate)
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 shouldReplicate)
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 |
reIndexIssues(IssuesIterable issuesIterable,
Context context,
IssueIndexingParams issueIndexingParams,
boolean shouldReplicate)
Reindex a list of issues, passing an optional Context for providing status updates.
|
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 shouldReplicate)
Reindexes a collection of worklogs.
|
long reIndexAll() throws IndexException
IndexException
long reIndexAll(Context context, boolean useBackgroundReindexing, boolean notifyCluster) 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.notifyCluster
- whether or not to notify the cluster about reindexing allIndexException
long reIndexAll(Context context, boolean useBackgroundReindexing, IssueIndexingParams issueIndexingParams, boolean notifyCluster) 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.notifyCluster
- whether or not to notify the cluster about reindexing allIndexException
long 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.IndexException
long 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.IndexException
long reIndexIssues(IssuesIterable issuesIterable, Context context, IssueIndexingParams issueIndexingParams, boolean shouldReplicate) throws IndexException
issuesIterable
- IssuesIterable of issues to reindexcontext
- 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.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
void reIndex(Issue issue) throws IndexException
IndexException
void reIndex(Issue issue, IssueIndexingParams issueIndexingParams) throws IndexException
IndexException
long reIndexComments(Collection<Comment> comments) throws IndexException
comments
- a collection of CommentIndexException
long 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.IndexException
long reIndexComments(Collection<Comment> comments, Context context, boolean shouldReplicate) throws IndexException
comments
- a collection of Commentcontext
- used to report progress back to the user or to the logs. Must not be null.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
long reIndexWorklogs(Collection<Worklog> worklogs) throws IndexException
worklogs
- a collection of WorklogsIndexException
long 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.IndexException
long reIndexWorklogs(Collection<Worklog> worklogs, Context context, boolean shouldReplicate) throws IndexException
worklogs
- a collection of Worklogscontext
- used to report progress back to the user or to the logs. Must not be null.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
void deIndex(WithId issueWithId) throws IndexException
IndexException
@Deprecated default void deIndex(Issue issue) throws IndexException
IndexException
void deIndexIssueObjectsById(Set<? extends WithId> issuesToDelete, boolean shouldReplicate) throws IndexException
issuesToDelete
- set of WithId
s to deIndex.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
@Deprecated default void deIndexIssueObjects(Set<Issue> issuesToDelete, boolean shouldReplicate) throws IndexException
issuesToDelete
- set of Issue
s to deIndex.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
long reIndexIssueObjects(Collection<? extends Issue> issueObjects) throws IndexException
issueObjects
- Set of Issue
s to reindex.IndexException
long reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams) throws IndexException
issueObjects
- Set of Issue
s to reindex.issueIndexingParams
- Determines witch related objects should be indexed together with issues.IndexException
long reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams, boolean shouldReplicate) throws IndexException
issueObjects
- Set of Issue
s to reindex.issueIndexingParams
- Determines witch related objects should be indexed together with issues.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.IndexException
void deIndex(Project project, boolean shouldReplicate)
project
- project objectshouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.void deIndexComments(Set<WithId> commentsToDelete, boolean shouldReplicate)
commentsToDelete
- set of WithId
s to deIndex.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.void deIndexWorklogs(Set<WithId> worklogsToDelete, boolean shouldReplicate)
worklogsToDelete
- set of WithId
s to deIndex.shouldReplicate
- whether or not the index changes should be replicated to the other nodes in the cluster.Copyright © 2002-2024 Atlassian. All Rights Reserved.