Closed
Description
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