|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.index.query.BaseQueryBuilder
org.elasticsearch.index.query.HasChildQueryBuilder
public class HasChildQueryBuilder
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
HasChildQueryBuilder(java.lang.String type,
QueryBuilder queryBuilder)
|
Method Summary | |
---|---|
HasChildQueryBuilder |
boost(float boost)
Sets the boost for this query. |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
|
HasChildQueryBuilder |
scope(java.lang.String scope)
The scope of the query, which can later be used, for example, to run facets against the child docs that matches the query. |
Methods inherited from class org.elasticsearch.index.query.BaseQueryBuilder |
---|
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes, toString, toXContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HasChildQueryBuilder(java.lang.String type, QueryBuilder queryBuilder)
Method Detail |
---|
public HasChildQueryBuilder scope(java.lang.String scope)
public HasChildQueryBuilder boost(float boost)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent
in class BaseQueryBuilder
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |