public class ScoreFunctionBuilders extends Object
Constructor and Description |
---|
ScoreFunctionBuilders() |
public static ExponentialDecayFunctionBuilder exponentialDecayFunction(String fieldName, Object origin, Object scale)
public static ExponentialDecayFunctionBuilder exponentialDecayFunction(String fieldName, Object scale)
public static GaussDecayFunctionBuilder gaussDecayFunction(String fieldName, Object origin, Object scale)
public static GaussDecayFunctionBuilder gaussDecayFunction(String fieldName, Object scale)
public static LinearDecayFunctionBuilder linearDecayFunction(String fieldName, Object origin, Object scale)
public static LinearDecayFunctionBuilder linearDecayFunction(String fieldName, Object scale)
public static ScriptScoreFunctionBuilder scriptFunction(Script script)
public static ScriptScoreFunctionBuilder scriptFunction(String script)
public static RandomScoreFunctionBuilder randomFunction(int seed)
public static RandomScoreFunctionBuilder randomFunction(long seed)
public static RandomScoreFunctionBuilder randomFunction(String seed)
public static WeightBuilder weightFactorFunction(float weight)
public static FieldValueFactorFunctionBuilder fieldValueFactorFunction(String fieldName)
Copyright © 2009–2016. All rights reserved.