Package | Description |
---|---|
org.elasticsearch.index.query.functionscore | |
org.elasticsearch.index.query.functionscore.random |
Modifier and Type | Method and Description |
---|---|
static RandomScoreFunctionBuilder |
ScoreFunctionBuilders.randomFunction(int seed) |
static RandomScoreFunctionBuilder |
ScoreFunctionBuilders.randomFunction(long seed) |
static RandomScoreFunctionBuilder |
ScoreFunctionBuilders.randomFunction(String seed) |
Modifier and Type | Method and Description |
---|---|
RandomScoreFunctionBuilder |
RandomScoreFunctionBuilder.seed(int seed)
Sets the seed based on which the random number will be generated.
|
RandomScoreFunctionBuilder |
RandomScoreFunctionBuilder.seed(long seed)
seed variant taking a long value.
|
RandomScoreFunctionBuilder |
RandomScoreFunctionBuilder.seed(String seed)
seed variant taking a String value.
|
Copyright © 2009–2015. All rights reserved.