From 3b17ddcd46fdb86f3da7fa4666bb4cb4f0be8366 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 17 Mar 2016 17:31:39 +0100 Subject: [PATCH] Removed old 1.x parent/child logic that should have been removed. `0` really means, don't match any child docs. --- .../index/query/HasChildQueryBuilder.java | 7 +--- .../search/child/ChildQuerySearchIT.java | 40 +++++++++---------- .../migration/migrate_5_0/search.asciidoc | 10 ++--- 3 files changed, 26 insertions(+), 31 deletions(-) diff --git a/core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java b/core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java index cb1c59eab01..324552d7b54 100644 --- a/core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java +++ b/core/src/main/java/org/elasticsearch/index/query/HasChildQueryBuilder.java @@ -257,12 +257,7 @@ public class HasChildQueryBuilder extends AbstractQueryBuilder