public interface IssueIndexManager extends IndexLifecycleManager, IssueIndexingService
| Modifier and Type | Method and Description |
|---|---|
void |
deIndex(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Since v5.0 use
deIndex(Issue) instead. Since v7.0 use IssueIndexingService.deIndex(Issue) instead. |
void |
deIndex(Issue issue)
Deprecated.
Call this as
IssueIndexingService.deIndex(Issue) instead. Since v7.0. |
void |
deIndexIssueObjects(Set<Issue> issuesToDelete,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.deIndexIssueObjects(Set, boolean) instead. Since v7.0. |
org.apache.lucene.analysis.Analyzer |
getAnalyzerForIndexing()
Returns an
Analyzer for indexing. |
org.apache.lucene.analysis.Analyzer |
getAnalyzerForSearching()
Returns an
Analyzer for searching. |
ManagedIndexSearcher |
getChangeHistorySearcher()
Get an
IndexSearcher that can be used to search the change history index. |
ManagedIndexSearcher |
getCommentSearcher()
Get an
IndexSearcher that can be used to search the comment index. |
Collection<String> |
getExistingPluginsPaths()
Returns a collection of Strings, each one representing the absolute path to the actual existing directory
where a plugin keeps its indexes.
|
ManagedIndexSearcher |
getIssueSearcher()
Get an
IndexSearcher that can be used to search the issue index. |
String |
getPluginsRootPath()
Get the root path of the index directory for plugins.
|
ManagedIndexSearcher |
getWorklogSearcher()
Get an
IndexSearcher that can be used to search the worklog index. |
void |
hold()
Temporarily suspend indexing on this thread.
|
boolean |
isHeld()
Return true if the index is held.
|
void |
reIndex(org.ofbiz.core.entity.GenericValue issue)
Deprecated.
Since v5.0. Use
reIndex(Issue) instead. Since v7.0, use IssueIndexingService.reIndex(Issue) instead. |
void |
reIndex(Issue issue)
Deprecated.
Call this as
IssueIndexingService.reIndex(Issue) instead. Since v7.0. |
void |
reIndex(Issue issue,
boolean reIndexComments,
boolean reIndexChangeHistory)
Deprecated.
Since v6.4, use
reIndex(Issue, IssueIndexingParams). Since v7.0, use IssueIndexingService.reIndex(Issue, IssueIndexingParams). |
void |
reIndex(Issue issue,
IssueIndexingParams issueIndexingParams)
Deprecated.
Call this as
IssueIndexingService.reIndex(Issue, IssueIndexingParams) instead. Since v7.0. |
long |
reIndexAll()
Deprecated.
Call this as
IssueIndexingService.reIndexAll() instead. Since v7.0. |
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexAll(Context, boolean, boolean) instead. Since v7.0. |
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
boolean reIndexComments,
boolean reIndexChangeHistory,
boolean updateReplicatedIndexStore)
Deprecated.
since v6.4 use
reIndexAll(Context, boolean, IssueIndexingParams, boolean) instead. Since
v7.0 use IssueIndexingService.reIndexAll(Context, boolean, IssueIndexingParams, boolean) instead. |
long |
reIndexAll(Context context,
boolean useBackgroundReindexing,
IssueIndexingParams issueIndexingParams,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexAll(Context, boolean, IssueIndexingParams, boolean)
instead. Since v7.0. |
long |
reIndexComments(Collection<Comment> comments)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection) instead. Since v7.0. |
long |
reIndexComments(Collection<Comment> comments,
Context context)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection, Context) instead. Since v7.0. |
long |
reIndexComments(Collection<Comment> comments,
Context context,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexComments(Collection, Context, boolean) instead.
Since v7.0. |
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects)
Deprecated.
Call this as
IssueIndexingService.reIndexIssueObjects(Collection) instead. Since v7.0. |
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
boolean reIndexComments,
boolean reIndexChangeHistory)
Deprecated.
Since v6.4, use
reIndexIssueObjects(Collection, IssueIndexingParams). Since v7.0, use
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams). |
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
boolean reIndexComments,
boolean reIndexChangeHistory,
boolean updateReplicatedIndexStore)
Deprecated.
|
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
IssueIndexingParams issueIndexingParams)
Deprecated.
Call this as
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams)
instead. Since v7.0. |
long |
reIndexIssueObjects(Collection<? extends Issue> issueObjects,
IssueIndexingParams issueIndexingParams,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams,
boolean) instead. Since v7.0. |
long |
reIndexIssues(Collection<org.ofbiz.core.entity.GenericValue> issues)
Deprecated.
Since v5.0, use
reIndexIssueObjects(Collection) instead. Since v7.0, use
IssueIndexingService.reIndexIssueObjects(Collection) instead. |
long |
reIndexIssues(IssuesIterable issuesIterable,
Context context)
Deprecated.
Call this as
IssueIndexingService.reIndexIssues(IssuesIterable, Context) instead. Since v7.0. |
long |
reIndexIssues(IssuesIterable issuesIterable,
Context context,
boolean reIndexComments,
boolean reIndexChangeHistory)
Deprecated.
Since v6.4, use
reIndexIssues(IssuesIterable, Context, IssueIndexingParams). Since v7.0,
use IssueIndexingService.reIndexIssues(IssuesIterable, Context, IssueIndexingParams). |
long |
reIndexIssues(IssuesIterable issuesIterable,
Context context,
IssueIndexingParams issueIndexingParams)
Deprecated.
Call this as
IssueIndexingService.reIndexIssues(IssuesIterable, Context, IssueIndexingParams)
instead. Since v7.0. |
long |
reIndexWorklogs(Collection<Worklog> worklogs)
Deprecated.
Call this as
IssueIndexingService.reIndexWorklogs(Collection) instead. Since v7.0. |
long |
reIndexWorklogs(Collection<Worklog> worklogs,
Context context)
Deprecated.
Call this as
IssueIndexingService.reIndexWorklogs(Collection, Context) instead. Since v7.0. |
long |
reIndexWorklogs(Collection<Worklog> worklogs,
Context context,
boolean updateReplicatedIndexStore)
Deprecated.
Call this as
IssueIndexingService.reIndexWorklogs(Collection, Context, boolean)
instead. Since v7.0. |
long |
release()
Release indexing on this thread.
|
boolean |
withReindexLock(Runnable runnable)
Runs the given runnable under the 'stop the world' reindex lock.
|
activate, activate, deactivate, getAllIndexPaths, isIndexAvailable, isIndexConsistent, isIndexingEnabled, optimize, reIndexAll, reIndexAll, reIndexAllIssuesInBackground, reIndexAllIssuesInBackground, reIndexIssuesInBackground, shutdown, sizedeIndexvoid hold()
boolean isHeld()
long release()
throws IndexException
IndexException - if an error occursString getPluginsRootPath()
Collection<String> getExistingPluginsPaths()
getPluginsRootPath().
If a plugin index root path does not exist, or is empty (no sub-directopries exist) then an empty collection will be returned.
ManagedIndexSearcher getIssueSearcher()
IndexSearcher that can be used to search the issue index.ManagedIndexSearcher getCommentSearcher()
IndexSearcher that can be used to search the comment index.ManagedIndexSearcher getChangeHistorySearcher()
IndexSearcher that can be used to search the change history index.ManagedIndexSearcher getWorklogSearcher()
IndexSearcher that can be used to search the worklog index.org.apache.lucene.analysis.Analyzer getAnalyzerForSearching()
Analyzer for searching.org.apache.lucene.analysis.Analyzer getAnalyzerForIndexing()
Analyzer for indexing.boolean withReindexLock(Runnable runnable)
runnable - The runnable to be executed@Deprecated long reIndexAll() throws IndexException
IssueIndexingService.reIndexAll() instead. Since v7.0.reIndexAll in interface IssueIndexingServiceIndexException@Deprecated long reIndexAll(Context context, boolean useBackgroundReindexing, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.reIndexAll(Context, boolean, boolean) instead. Since v7.0.reIndexAll in interface IssueIndexingServicecontext - 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 notIndexException@Deprecated long reIndexAll(Context context, boolean useBackgroundReindexing, IssueIndexingParams issueIndexingParams, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.reIndexAll(Context, boolean, IssueIndexingParams, boolean)
instead. Since v7.0.reIndexAll in interface IssueIndexingServicecontext - 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 notIndexException@Deprecated long reIndexIssues(IssuesIterable issuesIterable, Context context) throws IndexException
IssueIndexingService.reIndexIssues(IssuesIterable, Context) instead. Since v7.0.reIndexIssues in interface IssueIndexingServiceissuesIterable - IssuesIterablecontext - used to report progress back to the user or to the logs. Must not be null.IndexException@Deprecated long reIndexIssues(IssuesIterable issuesIterable, Context context, IssueIndexingParams issueIndexingParams) throws IndexException
IssueIndexingService.reIndexIssues(IssuesIterable, Context, IssueIndexingParams)
instead. Since v7.0.reIndexIssues in interface IssueIndexingServiceissuesIterable - 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@Deprecated void reIndex(Issue issue) throws IndexException
IssueIndexingService.reIndex(Issue) instead. Since v7.0.reIndex in interface IssueIndexingServiceIndexException@Deprecated void reIndex(Issue issue, IssueIndexingParams issueIndexingParams) throws IndexException
IssueIndexingService.reIndex(Issue, IssueIndexingParams) instead. Since v7.0.reIndex in interface IssueIndexingServiceIndexException@Deprecated long reIndexComments(Collection<Comment> comments) throws IndexException
IssueIndexingService.reIndexComments(Collection) instead. Since v7.0.reIndexComments in interface IssueIndexingServicecomments - a collection of CommentIndexException@Deprecated long reIndexComments(Collection<Comment> comments, Context context) throws IndexException
IssueIndexingService.reIndexComments(Collection, Context) instead. Since v7.0.reIndexComments in interface IssueIndexingServicecomments - a collection of Commentcontext - used to report progress back to the user or to the logs. Must not be null.IndexException@Deprecated long reIndexComments(Collection<Comment> comments, Context context, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.reIndexComments(Collection, Context, boolean) instead.
Since v7.0.reIndexComments in interface IssueIndexingServicecomments - 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 notIndexException@Deprecated long reIndexWorklogs(Collection<Worklog> worklogs) throws IndexException
IssueIndexingService.reIndexWorklogs(Collection) instead. Since v7.0.reIndexWorklogs in interface IssueIndexingServiceworklogs - a collection of WorklogsIndexException@Deprecated long reIndexWorklogs(Collection<Worklog> worklogs, Context context) throws IndexException
IssueIndexingService.reIndexWorklogs(Collection, Context) instead. Since v7.0.reIndexWorklogs in interface IssueIndexingServiceworklogs - a collection of Worklogscontext - used to report progress back to the user or to the logs. Must not be null.IndexException@Deprecated long reIndexWorklogs(Collection<Worklog> worklogs, Context context, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.reIndexWorklogs(Collection, Context, boolean)
instead. Since v7.0.reIndexWorklogs in interface IssueIndexingServiceworklogs - 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 notIndexException@Deprecated void deIndex(Issue issue) throws IndexException
IssueIndexingService.deIndex(Issue) instead. Since v7.0.deIndex in interface IssueIndexingServiceIndexException@Deprecated void deIndexIssueObjects(Set<Issue> issuesToDelete, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.deIndexIssueObjects(Set, boolean) instead. Since v7.0.deIndexIssueObjects in interface IssueIndexingServiceIndexException@Deprecated long reIndexIssueObjects(Collection<? extends Issue> issueObjects) throws IndexException
IssueIndexingService.reIndexIssueObjects(Collection) instead. Since v7.0.reIndexIssueObjects in interface IssueIndexingServiceissueObjects - Set of Issues to reindex.IndexException@Deprecated long reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams) throws IndexException
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams)
instead. Since v7.0.reIndexIssueObjects in interface IssueIndexingServiceissueObjects - Set of Issues to reindex.issueIndexingParams - Determines witch related objects should be indexed together with issues.IndexException@Deprecated long reIndexIssueObjects(Collection<? extends Issue> issueObjects, IssueIndexingParams issueIndexingParams, boolean updateReplicatedIndexStore) throws IndexException
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams,
boolean) instead. Since v7.0.reIndexIssueObjects in interface IssueIndexingServiceissueObjects - 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 storeIndexException@Deprecated long reIndexAll(Context context, boolean useBackgroundReindexing, boolean reIndexComments, boolean reIndexChangeHistory, boolean updateReplicatedIndexStore) throws IndexException
reIndexAll(Context, boolean, IssueIndexingParams, boolean) instead. Since
v7.0 use IssueIndexingService.reIndexAll(Context, boolean, IssueIndexingParams, boolean) instead.context - used to report progress back to the user or to the logs. Must not be nulluseBackgroundReindexing - whether to index in the background or notreIndexComments - Also reindex all the issue comments. Only relevant for background reindex operations.reIndexChangeHistory - Also reindex the issue change history. Only relevant for background reindex
operations.updateReplicatedIndexStore - whether to update the replicated index or notIndexException@Deprecated void reIndex(org.ofbiz.core.entity.GenericValue issue) throws IndexException
reIndex(Issue) instead. Since v7.0, use IssueIndexingService.reIndex(Issue) instead.IndexException@Deprecated long reIndexIssues(IssuesIterable issuesIterable, Context context, boolean reIndexComments, boolean reIndexChangeHistory) throws IndexException
reIndexIssues(IssuesIterable, Context, IssueIndexingParams). Since v7.0,
use IssueIndexingService.reIndexIssues(IssuesIterable, Context, IssueIndexingParams).issuesIterable - IssuesIterablecontext - used to report progress back to the user or to the logs. Must not be null.reIndexComments - a boolean indicating whether to index issue commentsreIndexChangeHistory - a boolean indicating whether to index issue change historyIndexException@Deprecated void reIndex(Issue issue, boolean reIndexComments, boolean reIndexChangeHistory) throws IndexException
reIndex(Issue, IssueIndexingParams). Since v7.0, use IssueIndexingService.reIndex(Issue, IssueIndexingParams).IndexException@Deprecated void deIndex(org.ofbiz.core.entity.GenericValue issue) throws IndexException
deIndex(Issue) instead. Since v7.0 use IssueIndexingService.deIndex(Issue) instead.IndexException@Deprecated long reIndexIssues(Collection<org.ofbiz.core.entity.GenericValue> issues) throws IndexException
reIndexIssueObjects(Collection) instead. Since v7.0, use
IssueIndexingService.reIndexIssueObjects(Collection) instead.reIndexIssueObjects(Collection) instead when possible.issues - The Issue GenericValues to reindex.IndexException@Deprecated long reIndexIssueObjects(Collection<? extends Issue> issueObjects, boolean reIndexComments, boolean reIndexChangeHistory) throws IndexException
reIndexIssueObjects(Collection, IssueIndexingParams). Since v7.0, use
IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams).issueObjects - Set of Issues to reindex.IndexException@Deprecated long reIndexIssueObjects(Collection<? extends Issue> issueObjects, boolean reIndexComments, boolean reIndexChangeHistory, boolean updateReplicatedIndexStore) throws IndexException
reIndexIssueObjects(Collection, IssueIndexingParams, boolean). Since v7.0,
use IssueIndexingService.reIndexIssueObjects(Collection, IssueIndexingParams, boolean).issueObjects - Set of Issues to reindex.reIndexComments - whether to reindex the comments or notreIndexChangeHistory - whether to reindex changeHistory or notupdateReplicatedIndexStore - whether to store index operations in the replicated index storeIndexExceptionCopyright © 2002-2021 Atlassian. All Rights Reserved.