Package org.elasticsearch.index.query.functionscore.exp

Examples of org.elasticsearch.index.query.functionscore.exp.ExponentialDecayFunctionBuilder


import java.util.Map;

public class ScoreFunctionBuilders {
  
    public static ExponentialDecayFunctionBuilder exponentialDecayFunction(String fieldName, Object origin, Object scale) {
        return new ExponentialDecayFunctionBuilder(fieldName, origin, scale);
    }
View Full Code Here


    public static ExponentialDecayFunctionBuilder exponentialDecayFunction(String fieldName, Object origin, Object scale) {
        return new ExponentialDecayFunctionBuilder(fieldName, origin, scale);
    }
   
    public static ExponentialDecayFunctionBuilder exponentialDecayFunction(String fieldName, Object scale) {
        return new ExponentialDecayFunctionBuilder(fieldName, null, scale);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.query.functionscore.exp.ExponentialDecayFunctionBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.