Package com.atlassian.jira.issue.index
Class IndexingLimitsHelper
java.lang.Object
com.atlassian.jira.issue.index.IndexingLimitsHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The name of property to set to change the default indexing limit of change history groups.static final String
The name of property to set to change the default behaviour of indexing change items.static final String
The name of property to set to change the default indexing limit of comments.static final int
Default indexing limit applied to change history items if not overwritten by system propertyCHANGELOGS_INDEXING_LIMIT_PROPERTY_NAME
.static final int
Default indexing limit applied to comments if not overwritten by system propertyCOMMENTS_INDEXING_LIMIT_PROPERTY_NAME
.static final int
Default indexing limit applied to worklogs if not overwritten by system propertyWORKLOGS_INDEXING_LIMIT_PROPERTY_NAME
.static final String
The name of property to set to change the default indexing limit of worklogs. -
Method Summary
-
Field Details
-
DEFAULT_INDEXING_LIMIT_CHANGELOGS
public static final int DEFAULT_INDEXING_LIMIT_CHANGELOGSDefault indexing limit applied to change history items if not overwritten by system propertyCHANGELOGS_INDEXING_LIMIT_PROPERTY_NAME
.- See Also:
-
DEFAULT_INDEXING_LIMIT_COMMENTS
public static final int DEFAULT_INDEXING_LIMIT_COMMENTSDefault indexing limit applied to comments if not overwritten by system propertyCOMMENTS_INDEXING_LIMIT_PROPERTY_NAME
.- See Also:
-
DEFAULT_INDEXING_LIMIT_WORKLOGS
public static final int DEFAULT_INDEXING_LIMIT_WORKLOGSDefault indexing limit applied to worklogs if not overwritten by system propertyWORKLOGS_INDEXING_LIMIT_PROPERTY_NAME
.- See Also:
-
COMMENTS_INDEXING_LIMIT_PROPERTY_NAME
The name of property to set to change the default indexing limit of comments. If set to negative number it won't limit the indexing of comments by any degree. If set to 0 it will disable indexing of comments when full reindexing issue.- See Also:
-
CHANGELOGS_INDEXING_LIMIT_PROPERTY_NAME
The name of property to set to change the default indexing limit of change history groups. If set to negative number it won't limit the indexing of change history groups by any degree. If set to 0 it will disable indexing of change history groups when full reindexing issue.- See Also:
-
WORKLOGS_INDEXING_LIMIT_PROPERTY_NAME
The name of property to set to change the default indexing limit of worklogs. If set to negative number it won't limit the indexing of worklogs by any degree. If set to 0 it will disable indexing of worklogs when full reindexing issue.- See Also:
-
CHANGELOGS_TURN_OFF_FILTERING_OUT_UNSUPPORTED_FIELDS_PROPERTY_NAME
The name of property to set to change the default behaviour of indexing change items. The default behaviour is to filter out items with unsupported fields before grouping them into change groups. As a consequence if there was a group that consisted only of change items of unsupported fields it would not end up indexed (no document would be created for it). Although old and new values of unsupported types wouldn't get captured in the document either way, the author of the change would, which was used by updatedBy jql function. If set to true the filtering out of unsupported fields will be turned off. If not set the default behaviour is to filter out change items with unsupported fields. Mind that the number of groups indexed will still be limited to DEFAULT_INDEXING_LIMIT. To turn back off full issue history updatedBy search use this in combination withjira.safeguards.indexing.issue.changelogs
. Another way to modify the updatedBy behaviour is to use cIndexedChangeHistoryFieldManager.addIndexedChangeHistoryField(com.atlassian.jira.issue.index.IndexedChangeHistoryField)
, which will modify the set of supported fields.- See Also:
-