@Deprecated public class FactorBuilder extends ScoreFunctionBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
FactorBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
FactorBuilder |
boostFactor(float boost)
Deprecated.
Sets the boost factor for this query.
|
void |
buildWeight(XContentBuilder builder)
Deprecated.
|
void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
Deprecated.
|
String |
getName()
Deprecated.
|
ScoreFunctionBuilder |
setWeight(float weight)
Deprecated.
|
toXContent
public FactorBuilder boostFactor(float boost)
public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class ScoreFunctionBuilder
IOException
public String getName()
getName
in class ScoreFunctionBuilder
public ScoreFunctionBuilder setWeight(float weight)
setWeight
in class ScoreFunctionBuilder
public void buildWeight(XContentBuilder builder) throws IOException
buildWeight
in class ScoreFunctionBuilder
IOException
Copyright © 2009–2016. All rights reserved.