Class ScoreFunctionBuilders
org.elasticsearch.index.query.functionscore.ScoreFunctionBuilders
public class ScoreFunctionBuilders
extends
Static method aliases for constructors of known
ScoreFunctionBuilder
s.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfieldName, origin, scale)
fieldName, origin, scale, offset)
fieldName, origin, scale, offset, double decay)
fieldName)
static GaussDecayFunctionBuilder
fieldName, origin, scale)
static GaussDecayFunctionBuilder
fieldName, origin, scale, offset)
static GaussDecayFunctionBuilder
fieldName, origin, scale, offset, double decay)
static LinearDecayFunctionBuilder
fieldName, origin, scale)
static LinearDecayFunctionBuilder
fieldName, origin, scale, offset)
static LinearDecayFunctionBuilder
fieldName, origin, scale, offset, double decay)
static RandomScoreFunctionBuilder
static ScriptScoreFunctionBuilder
script)
static ScriptScoreFunctionBuilder
scriptFunction(Script script)
static WeightBuilder
weightFactorFunction(float weight)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
ScoreFunctionBuilders
public ScoreFunctionBuilders()
-
-
Method Details
-
exponentialDecayFunction
public static fieldName, origin, scale) -
exponentialDecayFunction
public static fieldName, origin, scale, offset) -
exponentialDecayFunction
public static fieldName, origin, scale, offset, double decay) -
gaussDecayFunction
public static fieldName, origin, scale) -
gaussDecayFunction
public static fieldName, origin, scale, offset) -
gaussDecayFunction
public static fieldName, origin, scale, offset, double decay) -
linearDecayFunction
public static fieldName, origin, scale) -
linearDecayFunction
public static fieldName, origin, scale, offset) -
linearDecayFunction
public static fieldName, origin, scale, offset, double decay) -
scriptFunction
-
scriptFunction
public static script) -
randomFunction
-
weightFactorFunction
-
fieldValueFactorFunction
public static fieldName)
-