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

Matched queries: Remove redundant and broken code #10694

Merged
merged 1 commit into from Apr 21, 2015

Conversation

martijnvg
Copy link
Member

Because the fetch phase now has nested doc support, the logic that deals with detecting if a named nested query/filter matches with a hit can be removed.

PR for #10661

Because the fetch phase now has nested doc, the logic that deals with detecting if a named nested query/filter matches with a hit can be removed.

Closes elastic#10661
@jpountz
Copy link
Contributor

jpountz commented Apr 21, 2015

LGTM

Hurray for code removal. \o/

martijnvg added a commit that referenced this pull request Apr 21, 2015
matched queries: Remove redundant and broken code
@martijnvg martijnvg merged commit 24c75de into elastic:master Apr 21, 2015
@martijnvg martijnvg deleted the matched_queries/cleanup branch May 18, 2015 23:25
@clintongormley clintongormley added the :Search/Search Search-related issues that do not fall into other categories label Jun 7, 2015
@clintongormley clintongormley changed the title matched queries: Remove redundant and broken code Matched queries: Remove redundant and broken code Jun 7, 2015
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Jul 9, 2015
… 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.
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