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
Reduction (download):
curl -XDELETE 'localhost:9200/test?pretty=true' echo curl -XPOST 'localhost:9200/test?pretty=true' -d '{}' echo curl -XPOST 'localhost:9200/test/blog/_mapping?pretty=true' -d '{"blog":{"properties":{"name":{"type":"string"}}}}' echo curl -XPOST 'localhost:9200/test/post/_mapping?pretty=true' -d '{"post":{"_parent":{"type":"blog"},"properties":{"priority":{"type":"integer"}}}}' echo curl -XPUT 'localhost:9200/test/blog/1?refresh=true&pretty=true' -d '{"name":"Blog"}' echo curl -XPOST 'localhost:9200/test/post?parent=1&refresh=true&pretty=true' -d '{"priority":1}' echo curl -XPOST 'localhost:9200/test/post?parent=1&refresh=true&pretty=true' -d '{"priority":2}' echo echo "--- This correctly returns a document ---" curl -XPOST 'localhost:9200/test/post/_search?pretty=true' -d '{"query":{"term":{"priority":2}}}' echo echo "--- This should return a document, but it doesn't ---" curl -XPOST 'localhost:9200/test/blog/_search?pretty=true' -d '{"query":{"constant_score":{"filter":{"has_child":{"type":"post","query":{"term":{"priority":2}}}}}}}' echo echo "--- This correctly returns nothing ---" curl -XPOST 'localhost:9200/test/post/_search?pretty=true' -d '{"query":{"range":{"priority":{"gt":5}}}}' echo echo "--- This should return nothing, but it returns something ---" curl -XPOST 'localhost:9200/test/blog/_search?pretty=true' -d '{"query":{"constant_score":{"filter":{"has_child":{"type":"post","query":{"range":{"priority":{"gt":5}}}}}}}}' echo
The text was updated successfully, but these errors were encountered:
72d2fd0
Inner queries not resolved correctly in has_child filter when searchi…
f5ebce5
…ng directly against the parent type (in the URI for example), closes elastic#1471.
555a677
No branches or pull requests
Reduction (download):
The text was updated successfully, but these errors were encountered: