mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 04:45:37 +00:00
[Docs] Minor fix in has_child
javadoc comment (#33674)
The min and max constants are accidentaly the wrong way around.
This commit is contained in:
parent
e9826164bd
commit
c9131983f5
@ -183,7 +183,7 @@ public class HasChildQueryBuilder extends AbstractQueryBuilder<HasChildQueryBuil
|
||||
|
||||
/**
|
||||
* 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 class HasChildQueryBuilder extends AbstractQueryBuilder<HasChildQueryBuil
|
||||
|
||||
/**
|
||||
* 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; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user