Class IssueIndexServiceImpl
java.lang.Object
com.atlassian.greenhopper.service.IssueIndexServiceImpl
- All Implemented Interfaces:
IssueIndexService
@Service("gh-issueIndexingService")
public class IssueIndexServiceImpl
extends Object
implements IssueIndexService
Implementation of the IssueIndexingService interface
Wraps
IssueIndexService.-
Field Summary
Fields inherited from interface com.atlassian.greenhopper.service.IssueIndexService
SERVICE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreIndex(com.atlassian.jira.issue.Issue issue) Reindex a single issue.voidreIndex(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Reindex a single issue.voidvoidreindexIssueAndSubtasks(com.atlassian.jira.issue.Issue issue) Update lucene index for a given issue and any subtasks it may have.voidreindexIssueAndSubtasks(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Update lucene index for a given issue and any subtasks it may have.voidreindexIssueAndSubtasks(Long issueId) Update lucene index for a given issue and any subtasks it may have.reindexIssueAndSubtasks(Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Update lucene index for a set of issues and any subtasks they may have.reIndexIssues(Collection<com.atlassian.jira.issue.Issue> issues) Reindex a collection of issues.reIndexIssues(Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Reindex a collection of issues.voidreindexIssuesAndSubtasks(Collection<Long> issueIds) Update lucene index for a given set of issues and any subtasks they may have.voidreIndexIssuesWithIds(Collection<Long> issueIds) Reindex a collection of issues based on their ids.voidreIndexWithIds(Long... ids) Reindex a specific issues by ids
-
Constructor Details
-
IssueIndexServiceImpl
public IssueIndexServiceImpl()
-
-
Method Details
-
reIndexAll
public void reIndexAll()- Specified by:
reIndexAllin interfaceIssueIndexService
-
reIndex
public void reIndex(com.atlassian.jira.issue.Issue issue) Reindex a single issue.- Specified by:
reIndexin interfaceIssueIndexService- Parameters:
issue- the issue to reindex
-
reIndex
public void reIndex(com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Reindex a single issue.- Specified by:
reIndexin interfaceIssueIndexService- Parameters:
issue- the issue to reindex
-
reIndexWithIds
Description copied from interface:IssueIndexServiceReindex a specific issues by ids- Specified by:
reIndexWithIdsin interfaceIssueIndexService- Parameters:
ids- the ids of issues to reindex
-
reIndexIssues
Description copied from interface:IssueIndexServiceReindex a collection of issues.- Specified by:
reIndexIssuesin interfaceIssueIndexService- Parameters:
issues- the issues to reindex
-
reIndexIssues
public ServiceResult reIndexIssues(Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Description copied from interface:IssueIndexServiceReindex a collection of issues.- Specified by:
reIndexIssuesin interfaceIssueIndexService- Parameters:
issues- the issues to reindex
-
reIndexIssuesWithIds
Description copied from interface:IssueIndexServiceReindex a collection of issues based on their ids.- Specified by:
reIndexIssuesWithIdsin interfaceIssueIndexService- Parameters:
issueIds- the ids of the issues to reindex
-
reindexIssuesAndSubtasks
Description copied from interface:IssueIndexServiceUpdate lucene index for a given set of issues and any subtasks they may have.- Specified by:
reindexIssuesAndSubtasksin interfaceIssueIndexService- Parameters:
issueIds- to be reindexed
-
reindexIssueAndSubtasks
Description copied from interface:IssueIndexServiceUpdate lucene index for a given issue and any subtasks it may have.- Specified by:
reindexIssueAndSubtasksin interfaceIssueIndexService- Parameters:
issueId- to be reindexed
-
reindexIssueAndSubtasks
public void reindexIssueAndSubtasks(com.atlassian.jira.issue.Issue issue) Description copied from interface:IssueIndexServiceUpdate lucene index for a given issue and any subtasks it may have.- Specified by:
reindexIssueAndSubtasksin interfaceIssueIndexService- Parameters:
issue- to be reindexed
-
reindexIssueAndSubtasks
public void reindexIssueAndSubtasks(@Nonnull com.atlassian.jira.issue.Issue issue, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Description copied from interface:IssueIndexServiceUpdate lucene index for a given issue and any subtasks it may have.- Specified by:
reindexIssueAndSubtasksin interfaceIssueIndexService- Parameters:
issue- to be reindexed
-
reindexIssueAndSubtasks
public ServiceResult reindexIssueAndSubtasks(@Nonnull Collection<com.atlassian.jira.issue.Issue> issues, com.atlassian.jira.issue.index.IssueIndexingParams issueIndexingParams) Description copied from interface:IssueIndexServiceUpdate lucene index for a set of issues and any subtasks they may have.- Specified by:
reindexIssueAndSubtasksin interfaceIssueIndexService- Parameters:
issues- to be reindexed
-