Package | Description |
---|---|
org.elasticsearch.index.query |
Modifier and Type | Method and Description |
---|---|
HasParentFilterBuilder |
HasParentFilterBuilder.cache(boolean cache)
This is a noop since has_parent can't be cached.
|
HasParentFilterBuilder |
HasParentFilterBuilder.cacheKey(String cacheKey)
This is a noop since has_parent can't be cached.
|
HasParentFilterBuilder |
HasParentFilterBuilder.filterName(String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit.
|
static HasParentFilterBuilder |
FilterBuilders.hasParentFilter(String parentType,
FilterBuilder filter)
Constructs a parent filter, with the parent type and the filter to run against parent documents, with
the result of the filter being the *child* documents.
|
static HasParentFilterBuilder |
FilterBuilders.hasParentFilter(String parentType,
QueryBuilder query)
Constructs a parent filter, with the parent type and the query to run against parent documents, with
the result of the filter being the *child* documents.
|
HasParentFilterBuilder |
HasParentFilterBuilder.innerHit(QueryInnerHitBuilder innerHit)
Sets inner hit definition in the scope of this filter and reusing the defined type and query.
|
Copyright © 2009–2015. All rights reserved.