From a656f90a727ecf892385801eda84860a186ea038 Mon Sep 17 00:00:00 2001 From: Isabel Drost-Fromm Date: Thu, 19 Nov 2015 14:47:01 +0100 Subject: [PATCH] Revert back to type instead of child_type... for has child queries. Relates to #14249 --- docs/reference/query-dsl/has-child-query.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/query-dsl/has-child-query.asciidoc b/docs/reference/query-dsl/has-child-query.asciidoc index f65434242ea..5ffdb4a2b8d 100644 --- a/docs/reference/query-dsl/has-child-query.asciidoc +++ b/docs/reference/query-dsl/has-child-query.asciidoc @@ -9,7 +9,7 @@ an example: -------------------------------------------------- { "has_child" : { - "child_type" : "blog_tag", + "type" : "blog_tag", "query" : { "term" : { "tag" : "something" @@ -34,7 +34,7 @@ inside the `has_child` query: -------------------------------------------------- { "has_child" : { - "child_type" : "blog_tag", + "type" : "blog_tag", "score_mode" : "min", "query" : { "term" : { @@ -56,7 +56,7 @@ a match: -------------------------------------------------- { "has_child" : { - "child_type" : "blog_tag", + "type" : "blog_tag", "score_mode" : "min", "min_children": 2, <1> "max_children": 10, <1>