Class InferenceMetadataFieldsMapper

All Implemented Interfaces:
Iterable<Mapper>, ToXContent, ToXContentFragment

public abstract class InferenceMetadataFieldsMapper extends MetadataFieldMapper
An abstract MetadataFieldMapper used as a placeholder for implementation in the inference module. It is required by SourceFieldMapper to identify the field name for removal from _source.
  • Field Details

    • USE_LEGACY_SEMANTIC_TEXT_FORMAT

      public static final Setting<Boolean> USE_LEGACY_SEMANTIC_TEXT_FORMAT
      Internal index setting to control the format used for semantic text fields. Determines whether to use the legacy format (default: true). This setting is immutable and can only be defined at index creation to ensure the internal format remains consistent throughout the index's lifecycle.
    • USE_NEW_SEMANTIC_TEXT_FORMAT_BY_DEFAULT

      public static final IndexVersion USE_NEW_SEMANTIC_TEXT_FORMAT_BY_DEFAULT
    • NAME

      public static final String NAME
      See Also:
    • CONTENT_TYPE

      public static final String CONTENT_TYPE
      See Also:
  • Constructor Details

    • InferenceMetadataFieldsMapper

      protected InferenceMetadataFieldsMapper(MappedFieldType inferenceFieldType)
  • Method Details