public class MatchAllQueryBuilder extends BaseQueryBuilder 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) |
MatchAllQueryBuilder |
normsField(String normsField)
Field used for normalization factor (document boost).
|
buildAsBytes, buildAsBytes, toString, toXContent
public MatchAllQueryBuilder normsField(String normsField)
public MatchAllQueryBuilder boost(float boost)
boost
in interface BoostableQueryBuilder<MatchAllQueryBuilder>
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class BaseQueryBuilder
IOException
Copyright © 2009–2015. All rights reserved.