Skip to content

Allow non-field-backed properties to be stored and retrieved in Elasticsearch [DATAES-916] #1489

Closed
@spring-projects-issues

Description

@spring-projects-issues

sothawo opened DATAES-916 and commented

Object properties that are no field-backed but provided by a getter/setter method should be supported.Currently adding the @AccessType annotation works but requires to have a getter and a setter. A setter should be optional.

Besides adapting the MappingElasticsearchConverter this means that it must also be possible to put the @Field annotation on a getter method to be able to write the correct mappings and do custom conversions


Reference URL: https://stackoverflow.com/questions/63615297/method-based-serialization-with-spring-data-elasticsearch-4-x-without-jackson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions