Package com.atlassian.jira.issue.index
package com.atlassian.jira.issue.index
-
ClassDescriptionThis Class listens for Issue updates and deletes that happen during a background reindex so that they can be re-validated to ensure the index is not corrupted by any race between the background reindex and the issue updater.This index manager ignores calls to
BulkOnlyIndexManager.reIndex(org.ofbiz.core.entity.GenericValue),BulkOnlyIndexManager.deIndex(org.ofbiz.core.entity.GenericValue)andBulkOnlyIndexManager.reIndexIssues(Collection).Representsa a system field that can be searched by JQLDeprecated, for removal: This API element is subject to removal in a future version.since 10.4 for removal.Deprecated, for removal: This API element is subject to removal in a future version.since 10.4, replaced byOpenSearchIssueIndexerDefaultIssueIndexer.EntityRetriever<T extends WithId>Deprecated.since 10.4Provides managed searchers.A utility class that scrubs documents clean of fields that could generate Lucene errors, i.e.EntityWithVersion<E extends WithId>Deprecated.since 10.4.Event fired when indexes are deactivated, e.g.Deprecated.since 10.4.Simple class to represent a supported field in a change history search.allows you to add and remove fields that will be indexed in the change history indexInterface for all events raised during indexing.These feature flags enables indexing improvements that reduces indexing time and index size for instances with large number of custom fields.Jira-stats for indexing limits: [JIRA-STATS] [INDEXING-LIMITS] total stats: duration=PT5M0.445S, statsOverhead=n/a, data= { "_statsName": "INDEXING-LIMITS", "_statsType": "total", "_time": "1970-01-01T00:10:00Z", "_timestamp": 600000, "_duration": "PT10M", "_invocations": 21, "_statsOverhead": "n/a", "settings": { "maxCommentsIndexed": 500, "maxWorklogsIndexed": 500, "maxChangeHistoryIndexed": 100, "shouldFilterOutUnsupportedFields": true }, "indexIssueWithRelated": { "value": 427 }, "indexComments": { "value": 21 }, "indexWorklogs": { "value": 21 }, "indexChangeHistory": { "value": 427 }, "indexAll": { "value": 21 }, "numberOfTimesCommentsLimited": { "value": 20 }, "numberOfTimesWorklogsLimited": { "value": 2 }, "numberOfTimesChangeHistoryLimited": { "value": 3 }, "numberOfComments": { "count": 4, "min": 1, "max": 1100, "sum": 1401, "avg": 350, "distributionCounter": { "0": 0, "1": 1, "10": 0, "100": 1, "1000": 1, "10000": 1, "20000": 0, "50000": 0 } }, "numberOfWorklogs": { "count": 6, "min": 1, "max": 1200, "sum": 2901, "avg": 483, "distributionCounter": { "0": 0, "1": 1, "10": 0, "100": 1, "1000": 2, "10000": 2, "20000": 0, "50000": 0 } }, "numberOfChangeHistory": { "count": 5, "min": 1, "max": 500, "sum": 1301, "avg": 260, "distributionCounter": { "0": 0, "1": 1, "10": 0, "100": 1, "1000": 3, "10000": 0, "20000": 0, "50000": 0 } }, "numberOfChangeHistoryGroupsBeforeFiltering": { "count": 3, "min": 300, "max": 5000, "sum": 5800, "avg": 1933, "distributionCounter": { "0": 0, "1": 0, "10": 0, "100": 0, "1000": 2, "10000": 1, "20000": 0, "50000": 0 } }, "numberOfChangeHistoryItemsBeforeFiltering": { "count": 3, "min": 600, "max": 15000, "sum": 17600, "avg": 5866, "distributionCounter": { "0": 0, "1": 0, "10": 0, "100": 0, "1000": 1, "10000": 1, "20000": 1, "50000": 0 } }, "numberOfChangeHistoryItemsAfterFiltering": { "count": 3, "min": 400, "max": 10000, "sum": 11400, "avg": 3800, "distributionCounter": { "0": 0, "1": 0, "10": 0, "100": 0, "1000": 2, "10000": 1, "20000": 0, "50000": 0 } }, "topIssuesWithLimitedComments": { "IDXREACT-1": 1 }, "topIssuesWithLimitedWorklogs": { "IDXREACT-1": 2 }, "topIssuesWithLimitedChangeHistory": { "IDXREACT-64": 2, "IDXREACT-1": 1 } }Represents subset ofIndexingLimitsStatsdata, that is sent to analytics.Used byIndexDirectoryFactory.IndexPathAdapterto createIndex.Manager.Event triggered when indexing gets shutdown entirely.Responsible for printing to log (periodically, on re-index) indexing statistics.Collection of pre-definedtimers.An index lock that can be acquired using a configurable time out.Holds the index read/write locks.Deprecated.since 10.4A helper when doing background re-indexing, to match up which issues are seen in the index and databaseDeprecated.It's relate to DBR and HA only.Abstracts the means to create aDocumentfor anIssue.Returns up tobatchSizeissues per batch.Provides parameters required to conduct indexing or re-indexing JIRA issues.Provides services related to the indexing of issue data.Deprecated, for removal: This API element is subject to removal in a future version.since 10.4 for removal.Splits up a large set of issues into batches.Deprecated, for removal: This API element is subject to removal in a future version.since 10.4.Deprecated.ProvidesIndexfor all issue indexes.Raised when "reindex all" has cancelled.Raised when "reindex all" has completed.Event raised when a "reindex all" event is beginning.Raised just before issue reload during issue reindex.Event raised when indexing a set of issues has completed.Event raised when several issues are being reindexed.Deprecated.Searching is disabled, cannot get a searcher.Set of utility methods for indexing and querying project and issue security permissions.This provides a cache that can be shared between multiple indexing threads.Low level lucene searcher context.Provides you access toUnmanagedIndexSearcher.