|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.query.BaseFilterBuilder org.elasticsearch.index.query.QueryFilterBuilder
public class QueryFilterBuilder
A filter that simply wraps a 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 | |
---|---|
QueryFilterBuilder(QueryBuilder queryBuilder)
A filter that simply wraps a query. |
Method Summary | |
---|---|
QueryFilterBuilder |
cache(boolean cache)
Should the filter be cached or not. |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
|
QueryFilterBuilder |
filterName(java.lang.String filterName)
Sets the filter name for the filter that can be used when searching for matched_filters per hit. |
Methods inherited from class org.elasticsearch.index.query.BaseFilterBuilder |
---|
toXContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryFilterBuilder(QueryBuilder queryBuilder)
queryBuilder
- The query to wrap as a filterMethod Detail |
---|
public QueryFilterBuilder filterName(java.lang.String filterName)
public QueryFilterBuilder cache(boolean cache)
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContent
in class BaseFilterBuilder
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |