Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
HasChildQueryBuilder |
HasChildQueryBuilder.boost(float boost)
Sets the boost for this query.
|
static HasChildQueryBuilder |
QueryBuilders.hasChildQuery(String type,
QueryBuilder query)
Constructs a new NON scoring child query, with the child type and the query to run on the child documents.
|
HasChildQueryBuilder |
HasChildQueryBuilder.innerHit(QueryInnerHitBuilder innerHit)
Sets inner hit definition in the scope of this query and reusing the defined type and query.
|
HasChildQueryBuilder |
HasChildQueryBuilder.maxChildren(int maxChildren)
Defines the maximum number of children that are required to match for the parent to be considered a match.
|
HasChildQueryBuilder |
HasChildQueryBuilder.minChildren(int minChildren)
Defines the minimum number of children that are required to match for the parent to be considered a match.
|
HasChildQueryBuilder |
HasChildQueryBuilder.queryName(String queryName)
Sets the query name for the filter that can be used when searching for matched_filters per hit.
|
HasChildQueryBuilder |
HasChildQueryBuilder.scoreType(String scoreType)
Defines how the scores from the matching child documents are mapped into the parent document.
|
HasChildQueryBuilder |
HasChildQueryBuilder.setShortCircuitCutoff(int shortCircuitCutoff)
Configures at what cut off point only to evaluate parent documents that contain the matching parent id terms
instead of evaluating all parent docs.
|
Copyright © 2009–2015. All rights reserved.