Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
HasChildFilterBuilder |
HasChildFilterBuilder.cache(boolean cache)
This is a noop since has_child can't be cached.
|
HasChildFilterBuilder |
HasChildFilterBuilder.cacheKey(String cacheKey)
This is a noop since has_child can't be cached.
|
HasChildFilterBuilder |
HasChildFilterBuilder.filterName(String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
static HasChildFilterBuilder |
FilterBuilders.hasChildFilter(String type,
FilterBuilder filter)
Constructs a child filter, with the child type and the filter to run against child documents, with
the result of the filter being the *parent* documents.
|
static HasChildFilterBuilder |
FilterBuilders.hasChildFilter(String type,
QueryBuilder query)
Constructs a child filter, with the child type and the query to run against child documents, with
the result of the filter being the *parent* documents.
|
HasChildFilterBuilder |
HasChildFilterBuilder.innerHit(QueryInnerHitBuilder innerHit)
Sets inner hit definition in the scope of this filter and reusing the defined type and query.
|
HasChildFilterBuilder |
HasChildFilterBuilder.maxChildren(int maxChildren)
Defines the maximum number of children that are required to match for the parent to be considered a match.
|
HasChildFilterBuilder |
HasChildFilterBuilder.minChildren(int minChildren)
Defines the minimum number of children that are required to match for the parent to be considered a match.
|
HasChildFilterBuilder |
HasChildFilterBuilder.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.