Uses of Class
org.elasticsearch.common.lucene.search.function.ScoreFunction
-
Packages that use ScoreFunction Package Description org.elasticsearch.common.lucene.search.function org.elasticsearch.index.query.functionscore -
-
Uses of ScoreFunction in org.elasticsearch.common.lucene.search.function
Subclasses of ScoreFunction in org.elasticsearch.common.lucene.search.function Modifier and Type Class Description classFieldValueFactorFunctionA function_score function that multiplies the score with the value of a field from the document, optionally multiplying the field by a factor first, and applying a modification (log, ln, sqrt, square, etc) afterwards.static classFunctionScoreQuery.FilterScoreFunctionclassRandomScoreFunctionPseudo randomly generate a score for eachLeafScoreFunction.score(int, float).classScriptScoreFunctionclassWeightFactorFunctionFields in org.elasticsearch.common.lucene.search.function declared as ScoreFunction Modifier and Type Field Description ScoreFunctionFunctionScoreQuery.FilterScoreFunction. functionMethods in org.elasticsearch.common.lucene.search.function that return ScoreFunction Modifier and Type Method Description ScoreFunction[]FunctionScoreQuery. getFunctions()ScoreFunctionWeightFactorFunction. getScoreFunction()protected ScoreFunctionFunctionScoreQuery.FilterScoreFunction. rewrite(IndexReader reader)protected ScoreFunctionScoreFunction. rewrite(IndexReader reader)Methods in org.elasticsearch.common.lucene.search.function with parameters of type ScoreFunction Modifier and Type Method Description protected booleanFieldValueFactorFunction. doEquals(ScoreFunction other)protected booleanFunctionScoreQuery.FilterScoreFunction. doEquals(ScoreFunction other)protected booleanRandomScoreFunction. doEquals(ScoreFunction other)protected abstract booleanScoreFunction. doEquals(ScoreFunction other)Indicates whether some otherScoreFunctionobject of the same type is "equal to" this one.protected booleanScriptScoreFunction. doEquals(ScoreFunction other)protected booleanWeightFactorFunction. doEquals(ScoreFunction other)Constructors in org.elasticsearch.common.lucene.search.function with parameters of type ScoreFunction Constructor Description FilterScoreFunction(Query filter, ScoreFunction function)FunctionScoreQuery(Query subQuery, FunctionScoreQuery.ScoreMode scoreMode, ScoreFunction[] functions, CombineFunction combineFunction, Float minScore, float maxBoost)Creates a FunctionScoreQuery with multiple score functionsFunctionScoreQuery(Query subQuery, ScoreFunction function)Creates a FunctionScoreQuery with a singleScoreFunctionFunctionScoreQuery(Query subQuery, ScoreFunction function, CombineFunction combineFunction, Float minScore, float maxBoost)Creates a FunctionScoreQuery with a single functionWeightFactorFunction(float weight, ScoreFunction scoreFunction) -
Uses of ScoreFunction in org.elasticsearch.index.query.functionscore
Subclasses of ScoreFunction in org.elasticsearch.index.query.functionscore Modifier and Type Class Description static classDecayFunctionBuilder.AbstractDistanceScoreFunctionThis is the base class for scoring a single field.Methods in org.elasticsearch.index.query.functionscore that return ScoreFunction Modifier and Type Method Description protected ScoreFunctionDecayFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionFieldValueFactorFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionRandomScoreFunctionBuilder. doToFunction(QueryShardContext context)protected abstract ScoreFunctionScoreFunctionBuilder. doToFunction(QueryShardContext context)Build the Lucene ScoreFunction for this builder.protected ScoreFunctionScriptScoreFunctionBuilder. doToFunction(QueryShardContext context)protected ScoreFunctionWeightBuilder. doToFunction(QueryShardContext context)ScoreFunctionScoreFunctionBuilder. toFunction(QueryShardContext context)Called on a data node, converts this ScoreFunctionBuilder into its corresponding Lucene function object.Methods in org.elasticsearch.index.query.functionscore with parameters of type ScoreFunction Modifier and Type Method Description protected booleanDecayFunctionBuilder.AbstractDistanceScoreFunction. doEquals(ScoreFunction other)
-