Interface MappingDeconflictDarkFeature


  • public interface MappingDeconflictDarkFeature
    Dark-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 IndexFieldMappingConflictException when mapping conflict is detected.

    Since:
    8.6
    • 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
      • isEnabled

        boolean isEnabled()
        Returns:
        true if the dark-feature is currently enabled