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

Fix the documentation of the _parent field #22517

Closed
consulthys opened this issue Jan 10, 2017 · 0 comments
Closed

Fix the documentation of the _parent field #22517

consulthys opened this issue Jan 10, 2017 · 0 comments

Comments

@consulthys
Copy link
Contributor

The official 5.1 documentation on the _parent field states that it is possible to run a term query on the _parent field and retrieve all children documents with the specified parent, i.e. similar to what can be achieved with an has_parent query.

However, according to the breaking changes in 5.0, the _parent field is not indexed anymore, and hence, a termor terms query on the _parent field doesn't work anymore.

The documentation of the _parent field should reflect that breaking change and mention the new parent_id query instead of a term/terms query on the _parent field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant