public class RandomScoreFunctionBuilder extends ScoreFunctionBuilder
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsEMPTY_PARAMS| コンストラクタと説明 |
|---|
RandomScoreFunctionBuilder() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
doXContent(XContentBuilder builder,
ToXContent.Params params) |
String |
getName() |
RandomScoreFunctionBuilder |
seed(int seed)
Sets the seed based on which the random number will be generated.
|
RandomScoreFunctionBuilder |
seed(long seed)
seed variant taking a long value.
|
RandomScoreFunctionBuilder |
seed(String seed)
seed variant taking a String value.
|
buildWeight, setWeight, toXContentpublic String getName()
getName クラス内 ScoreFunctionBuilderpublic RandomScoreFunctionBuilder seed(int seed)
seed - The seed.public RandomScoreFunctionBuilder seed(long seed)
seed(int)public RandomScoreFunctionBuilder seed(String seed)
seed(int)public void doXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContent クラス内 ScoreFunctionBuilderIOExceptionCopyright © 2009–2016. All rights reserved.