-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Two empty mappings now are created equally #107936
Two empty mappings now are created equally #107936
Conversation
Pinging @elastic/es-search (Team:Search) |
Hi @piergm, I've created a changelog YAML for you. |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
@piergm does this need review? |
…tly-in-field_caps
…tly-in-field_caps
Is it possible to get this bug fixed and backported to 8.x in the near future ? The fix looks contained and the bug keeps occurring every now and then. Thanks! |
💔 Backport failedThe backport operation could not be completed due to the following error:
You can use sqren/backport to manually backport by running |
* Two empty mappings reported equally in field_caps * empty mapping now is {} * iter (cherry picked from commit cd8d37b)
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
* Two empty mappings reported equally in field_caps * empty mapping now is {} * iter
Mapping defaults to
{}
aka EMPTY_MAPPING, even ifmappings: {}
is passed in the request body to match the behaviour when passing empty mapping on index create.Prior to this change
mappings: {}
was instead wrapped with with_doc
fixes #107031