Interface MappingDeconflictDarkFeature
-
public interface MappingDeconflictDarkFeatureDark-feature "index.mapping.deconflict".If enabled, it will enforce that index field mappings are not in conflict with each other. A conflict is when one field name is used across multiple different mappings.
Currently defaults to enabled. Starting from the version 8.7 only error log message is written in case of conflicting mapping. Earlier versions throw
IndexFieldMappingConflictExceptionwhen mapping conflict is detected.- Since:
- 8.6
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MappingDeconflictDarkFeaturecreate(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)booleanisEnabled()static booleanisEnabled(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
-
-
Field Detail
-
KEY
static final String KEY
- See Also:
- Constant Field Values
-
DEFAULT
static final boolean DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEnabled
static boolean isEnabled(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
- Parameters:
darkFeatureManager- an instance of the dark feature manager- Returns:
- true if the dark-feature is currently enabled
-
create
static MappingDeconflictDarkFeature create(com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
isEnabled
boolean isEnabled()
- Returns:
- true if the dark-feature is currently enabled
-
-