Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xhaggi opened this issue Jul 15, 2021 · 0 comments · Fixed by #1872
Closed

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

xhaggi opened this issue Jul 15, 2021 · 0 comments · Fixed by #1872
Labels
status: waiting-for-triage An issue we've not yet triaged

Comments

@xhaggi
Copy link
Contributor

xhaggi commented Jul 15, 2021

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.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 15, 2021
@xhaggi xhaggi changed the title Rewrite dynamic mapping parameter implementation Move dynamic mapping parameter configuration to @Document and @Field Jul 15, 2021
sothawo pushed a commit that referenced this issue Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
2 participants