public class MatchAllQueryBuilder extends QueryBuilder implements BoostableQueryBuilder<MatchAllQueryBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
MatchAllQueryBuilder() |
Modifier and Type | Method and Description |
---|---|
MatchAllQueryBuilder |
boost(float boost)
Sets the boost for this query.
|
void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
toXContent
buildAsBytes, buildAsBytes, toString
public MatchAllQueryBuilder boost(float boost)
boost
in interface BoostableQueryBuilder<MatchAllQueryBuilder>
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class QueryBuilder
IOException
Copyright © 2009–2016. All rights reserved.