public class MatchAllQueryBuilder extends QueryBuilder implements BoostableQueryBuilder<MatchAllQueryBuilder>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_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) |
toXContentbuildAsBytes, buildAsBytes, toStringpublic MatchAllQueryBuilder boost(float boost)
boost in interface BoostableQueryBuilder<MatchAllQueryBuilder>public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent in class QueryBuilderIOExceptionCopyright © 2009–2017. All rights reserved.