Annotation Interface DynamicTemplates


@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface DynamicTemplates
Elasticsearch dynamic templates mapping. This annotation is handy if you prefer apply dynamic templates on fields with annotation e.g. Field with type = FieldType.Object etc. instead of static mapping on Document via Mapping annotation. DynamicTemplates annotation is omitted if Mapping annotation is used.
Author:
Petr Kukral
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • mappingPath

      String mappingPath
      Default:
      ""