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

Comments

Projects
None yet
1 participant
@martijnvg
Copy link
Member

martijnvg commented Jun 5, 2013

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

This comment has been minimized.

Copy link
Member Author

martijnvg commented Jun 5, 2013

Closed by: 82ff1c6

@martijnvg martijnvg closed this Jun 5, 2013

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.