Package org.elasticsearch.index.query.functionscore.fieldvaluefactor

Examples of org.elasticsearch.index.query.functionscore.fieldvaluefactor.FieldValueFactorFunctionBuilder


    public static WeightBuilder weightFactorFunction(float weight) {
        return (WeightBuilder)(new WeightBuilder().setWeight(weight));
    }

    public static FieldValueFactorFunctionBuilder fieldValueFactorFunction(String fieldName) {
        return new FieldValueFactorFunctionBuilder(fieldName);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.query.functionscore.fieldvaluefactor.FieldValueFactorFunctionBuilder

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.