Interface MappingParametersCustomizer


public interface MappingParametersCustomizer
Allows to customize MappingParameters that are being emitted for each supported annotation. Needed by dependent projects like Spring-Data-Opensearch.
Since:
6.1.0
Author:
Andriy Redko
  • Method Summary

    Modifier and Type
    Method
    Description
    from(Annotation annotation)
    Customize @link org.springframework.data.elasticsearch.core.index.MappingParameters} for each supported annotation.
  • Method Details

    • from

      MappingParameters from(Annotation annotation)
      Customize @link org.springframework.data.elasticsearch.core.index.MappingParameters} for each supported annotation.
      Parameters:
      annotation - supported annotation
      Returns:
      customized @link org.springframework.data.elasticsearch.core.index.MappingParameters}