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

Comments

Projects
None yet
2 participants
@bleskes
Copy link
Member

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

Prohibit indexing a document with parent for a type that doesn't have…
… 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

Prohibit indexing a document with parent for a type that doesn't have…
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping.

Closes #3848
Closes #3849

@martijnvg martijnvg closed this Oct 15, 2013

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Prohibit indexing a document with parent for a type that doesn't have…
… 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
You can’t perform that action at this time.