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
inner_hits does not work for nested filters #10308
Comments
@damienbod inner_hits in a nested filter should work. I quickly tried to verified that |
Hi Thanks for your reply. Here's my data: Mapping:
Test Data:
Search Request:
Response:
Elasticsearch version:
Thanks for your help. Greetings Damien |
Hey @damienbod this is a bug. Thanks for sharing your data! It only manifest if a inner filter is used in the nested filter. If a inner query is used instead then the issue doesn't occur, so the following works:
|
No problem |
…used in a nested filter/query. Closes #10308
…used in a nested filter/query. Closes #10308
…used in a nested filter/query. Closes elastic#10308
I'm updating a .NET client to support inner_hits for nested, has_child and has_parent queries and filters.
The inner_hits work for all queries and filters except nested filters. Is this a bug or a documentation error?
Greetings Damien
The text was updated successfully, but these errors were encountered: