From a64658db2497b985e2aedb8be7719395ccc3ec32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Thu, 13 Sep 2018 16:57:57 +0200 Subject: [PATCH] [Docs] Minor fix in `has_child` javadoc comment The min and max constants are accidentaly the wrong way around. --- .../org/elasticsearch/join/query/HasChildQueryBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/parent-join/src/main/java/org/elasticsearch/join/query/HasChildQueryBuilder.java b/modules/parent-join/src/main/java/org/elasticsearch/join/query/HasChildQueryBuilder.java index e37a796009137..696c4a72bdba8 100644 --- a/modules/parent-join/src/main/java/org/elasticsearch/join/query/HasChildQueryBuilder.java +++ b/modules/parent-join/src/main/java/org/elasticsearch/join/query/HasChildQueryBuilder.java @@ -183,7 +183,7 @@ public ScoreMode scoreMode() { /** * Returns the minimum number of children that are required to match for the parent to be considered a match. - * The default is {@value #DEFAULT_MAX_CHILDREN} + * The default is {@value #DEFAULT_MIN_CHILDREN} */ public int minChildren() { return minChildren; @@ -191,7 +191,7 @@ public int minChildren() { /** * Returns the maximum number of children that are required to match for the parent to be considered a match. - * The default is {@value #DEFAULT_MIN_CHILDREN} + * The default is {@value #DEFAULT_MAX_CHILDREN} */ public int maxChildren() { return maxChildren; }