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

Properly support named queries for both nested and parent child inner hits #11880

Conversation

martijnvg
Copy link
Member

Before inner_hits existed named queries had support to also verify if inner queries of nested query matched with returned documents. This logic was broken and became obsolete from the moment inner hits got released. #10694 fixed named queries for nested docs in the top_hits agg, but it didn't fix the named query support for nested inner hits. This commit fixes that and on top of this also adds support for parent/child inner hits.

Left over of issue #10661

@clintongormley clintongormley changed the title inner_hits: Properly support named queries for both nested and parent child inner hits Properly support named queries for both nested and parent child inner hits Jun 26, 2015
@jpountz
Copy link
Contributor

jpountz commented Jul 8, 2015

LGTM

… child inner hits.

Before inner_hits existed named queries has support to also verify if inner queries of nested query matched with returned documents. This logic was broken and became obsolete from the moment inner hits get released. elastic#10694 fixed named queries for nested docs in the top_hits agg, but it didn't fix the named query support for nested inner hits. This commit fixes that and on top of this also adds support for parent/child inner hits.
@martijnvg martijnvg force-pushed the inner_hits/properly_nail_named_query_support branch from 7256dc2 to 5f6623c Compare July 9, 2015 09:09
@martijnvg martijnvg merged commit 5f6623c into elastic:master Jul 9, 2015
@kevinkluge kevinkluge removed the review label Jul 9, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :Inner Hits labels Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants