Skip to content
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

Prohibit adding a parent mapping at runtime #3849

Closed
bleskes opened this issue Oct 8, 2013 · 0 comments
Closed

Prohibit adding a parent mapping at runtime #3849

bleskes opened this issue Oct 8, 2013 · 0 comments

Comments

@bleskes
Copy link
Contributor

bleskes commented Oct 8, 2013

Prohibit adding a parent mapping to a type at runtime by raising a MergeMappingException.

The breaking part here, is that if a document uses a top level _parent field, that it won't be indexed. This is because _parent is actually reserved metadata field and this also consistent with other metadata fields (like ttl, routing)

@ghost ghost assigned bleskes and martijnvg Oct 8, 2013
martijnvg added a commit that referenced this issue Oct 15, 2013
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping.

Closes #3848 #3849
martijnvg added a commit that referenced this issue Oct 15, 2013
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping.

Closes #3848
Closes #3849
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping.

Closes elastic#3848
Closes elastic#3849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants