public class WeightBuilder extends ScoreFunctionBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
EMPTY_PARAMS
Constructor and Description |
---|
WeightBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
getName() |
buildWeight, setWeight, toXContent
public String getName()
getName
in class ScoreFunctionBuilder
protected void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent
in class ScoreFunctionBuilder
IOException
Copyright © 2009–2016. All rights reserved.