Skip to content

MappingBuilder must use the @Field annotation's name attribute [DATAES-568] #1140

Closed
@spring-projects-issues

Description

@spring-projects-issues

sothawo opened DATAES-568 and commented

DATAES-562 introduced the name attribute for the @Field annotation; this is used by the ElasticsearchEntityMapper to map the Java objects property to the field name used in Elasticsearch. This works for auto-type fields fields on storing when a default mapping for this field is created, but not for the definition of the mapping when the MappingBuilder ist used.

The MappingBuilder must be changed to honor this annotation together with the other attributes of the @Field annotation


Affects: 3.2 M3 (Moore)

Issue Links:

  • DATAES-20 Allow @Field Annotation to be used on setter methods
    ("supersedes")

Referenced from: pull request #281

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: mappingMapping and conversion infrastructuretype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions