-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Raw mapping merge fix for properties field #108867
Raw mapping merge fix for properties field #108867
Conversation
Pinging @elastic/es-search (Team:Search) |
Hi @eyalkoren, I've created a changelog YAML for you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
cc @chiarch84 |
Thanks a lot for following this. Sorry for not commenting earlier but I do not have access to my pc for some time to test It. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took a deeper look at the custom merge logic in RawFieldMappingMerge and agree that passing on "null" in the recursion when the parent is a "properties" field should not affect any further merging logic down the line.
LGTM for that reason.
Thanks for verifying 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit on a comment, otherwise LGTM
server/src/main/java/org/elasticsearch/index/mapper/MapperService.java
Outdated
Show resolved
Hide resolved
Tip: you can apply the |
💔 Backport failedThe backport operation could not be completed due to the following error:
You can use sqren/backport to manually backport by running |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 92dc76e)
Fixes #108866