Skip to content

Disallow changing 'enabled' on the root mapper.#54681

Merged
jtibshirani merged 2 commits intoelastic:7.xfrom
jtibshirani:root-mapper-enabled
Apr 2, 2020
Merged

Disallow changing 'enabled' on the root mapper.#54681
jtibshirani merged 2 commits intoelastic:7.xfrom
jtibshirani:root-mapper-enabled

Conversation

@jtibshirani
Copy link
Copy Markdown
Contributor

Backport of #54463, opening to get full build.

In elastic#33933 we disallowed changing the `enabled` parameter in object mappings.
However, the fix didn't cover the root object mapper. This PR adjusts the change
to also include the root mapper and clarifies the error message.
@jtibshirani jtibshirani added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types backport labels Apr 2, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search (:Search/Mapping)

@jtibshirani jtibshirani merged commit 5fb7602 into elastic:7.x Apr 2, 2020
@jtibshirani jtibshirani deleted the root-mapper-enabled branch April 2, 2020 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport >bug :Search Foundations/Mapping Index mappings, including merging and defining field types

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants