Package org.elasticsearch.index.query.functionscore.weight

Examples of org.elasticsearch.index.query.functionscore.weight.WeightBuilder


    public static RandomScoreFunctionBuilder randomFunction(String seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }
   
    public static WeightBuilder weightFactorFunction(float weight) {
        return (WeightBuilder)(new WeightBuilder().setWeight(weight));
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.query.functionscore.weight.WeightBuilder

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.