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
Elasticsearch version 6.4.2
The has_parent query returns misleading error messages, referring to field type rather than field parent_type:
has_parent
type
parent_type
"type": "illegal_argument_exception", "reason": "[has_parent] requires 'type' field"
and
"type": "parsing_exception", "reason": "[has_parent] query does not support [type]",
To reproduce:
POST _search { "query": { "has_parent": { } } }
POST _search { "query": { "has_parent": { "type": "test" } } }
The text was updated successfully, but these errors were encountered:
Pinging @elastic/es-search-aggs
Sorry, something went wrong.
The issue was fixed on master but never backported to 6x. It is backported now so I am closing this issue. Thanks for reporting @fkelbert .
jimczi
No branches or pull requests
Elasticsearch version 6.4.2
The
has_parent
query returns misleading error messages, referring to fieldtype
rather than fieldparent_type
:and
To reproduce:
and
The text was updated successfully, but these errors were encountered: