Skip to content

Move dynamic mapping parameter configuration to @Document and @Field #1871

Closed
@xhaggi

Description

@xhaggi

At the moment you have to add a separate annotation @DynamicMapping to the entity or fields of type Object and Nested to configure the dynamic mapping parameter. This seems a bit too complicated to me, since the other mapping parameters like ignore_above or doc_values are part of the @Field annotation. We should add dynamic as part of the @Document and @Field annotation, deprecate the old implementation and switch to the new one.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions