Package org.elasticsearch.index.query.functionscore.random

Examples of org.elasticsearch.index.query.functionscore.random.RandomScoreFunctionBuilder


    public static FactorBuilder factorFunction(float boost) {
        return (new FactorBuilder()).boostFactor(boost);
    }

    public static RandomScoreFunctionBuilder randomFunction(int seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }
View Full Code Here


    public static RandomScoreFunctionBuilder randomFunction(int seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }

    public static RandomScoreFunctionBuilder randomFunction(long seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }
View Full Code Here

    public static RandomScoreFunctionBuilder randomFunction(long seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }

    public static RandomScoreFunctionBuilder randomFunction(String seed) {
        return (new RandomScoreFunctionBuilder()).seed(seed);
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.index.query.functionscore.random.RandomScoreFunctionBuilder

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.