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

has_parent query returning no results with multi level child docs. #3139

Closed
martijnvg opened this issue Jun 5, 2013 · 1 comment
Closed

Comments

@martijnvg
Copy link
Member

Reported via the ML:
https://groups.google.com/forum/?fromgroups#!topic/elasticsearch/gto9da4fq3M

In short:
With types the grand_parent, parent, child
Then the has_parent query and filter can't find any docs if parent_type is set to parent.

For example when the following query is executed:

"has_parent" : {
   "type" : "parent",
   "query" : match_all : {}
}

Then no results are returned.

@martijnvg
Copy link
Member Author

Closed by: 82ff1c6

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

1 participant