|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.query.xcontent.BaseQueryBuilder org.elasticsearch.index.query.xcontent.FilteredQueryBuilder
public class FilteredQueryBuilder
A query that applies a filter to the results of another query.
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 | |
---|---|
FilteredQueryBuilder(XContentQueryBuilder queryBuilder,
XContentFilterBuilder filterBuilder)
A query that applies a filter to the results of another query. |
Method Summary | |
---|---|
FilteredQueryBuilder |
boost(float boost)
Sets the boost for this query. |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
|
Methods inherited from class org.elasticsearch.index.query.xcontent.BaseQueryBuilder |
---|
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes, toXContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilteredQueryBuilder(XContentQueryBuilder queryBuilder, XContentFilterBuilder filterBuilder)
queryBuilder
- The query to apply the filter tofilterBuilder
- The filter to apply on the queryMethod Detail |
---|
public FilteredQueryBuilder 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 |