-
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
Unable to change enabled setting when update mapping #28070
Comments
The code seems to assume this property is updateable too. That said maybe this bug gives us an opportunity to reconsider this. Enabling a disabled object means that all sub fields indexed prior to the enablement of the object will be ignored, but not those indexed after the object has been enabled. This can make issues harder to track, and could create all kinds of weird situations, like indices that refuse to reindex with the same mappings, etc. I can't find the issue but I believe the same argument made us disallow updating the date format on |
We disallowed updating the date format in #25271. |
@jpountz I understand your argument, but wouldn't that same logic also apply to the "dynamic" attribute then? |
Indeed. |
Closed by #33933. |
Steps to reproduce
enabled=false
enabled=true
and received an acknowledgmentI am not sure if we support updating
enabled
attribute but we should not acknowledge if the update does not take effect.The text was updated successfully, but these errors were encountered: