We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you submit an indexing request and specify a parent but the mapping doesn't define a parent type, we currently silently ignore the parent value:
curl -XPUT "http://localhost:9200/test/type/1?parent=1" -d' { "field": "value" }'
We should reject the request.
The breaking part: Index requests with the parent flag will be rejected if there is no _parent metadata field in the mapping.
_parent
The text was updated successfully, but these errors were encountered:
Prohibit indexing a document with parent for a type that doesn't have…
30447c1
… a `_parent` field configured. Closes elastic#3848
cc9ab11
39dafc0
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping. Closes #3848 Closes #3849
7d22170
… a `_parent` field configured and prohibit adding a _parent field to an existing mapping. Closes elastic#3848 Closes elastic#3849
martijnvg
No branches or pull requests
If you submit an indexing request and specify a parent but the mapping doesn't define a parent type, we currently silently ignore the parent value:
We should reject the request.
The breaking part: Index requests with the parent flag will be rejected if there is no
_parent
metadata field in the mapping.The text was updated successfully, but these errors were encountered: