Package org.elasticsearch.index.query.functionscore
-
Interface Summary Interface Description DecayFunction Implement this interface to provide a decay function that is executed on a distance.ScoreFunctionParser<FB extends ScoreFunctionBuilder<FB>> Parses XContent into aScoreFunctionBuilder
. -
Class Summary Class Description DecayFunctionBuilder<DFB extends DecayFunctionBuilder<DFB>> DecayFunctionBuilder.AbstractDistanceScoreFunction This is the base class for scoring a single field.DecayFunctionParser<DFB extends DecayFunctionBuilder<DFB>> Parser used for all decay functions, one instance each.ExponentialDecayFunctionBuilder FieldValueFactorFunctionBuilder Builder to constructfield_value_factor
functions for a function score query.FunctionScoreQueryBuilder A query that uses a filters with a script associated with them to compute the score.FunctionScoreQueryBuilder.FilterFunctionBuilder Function to be associated with an optional filter, meaning it will be executed only for the documents that match the given filter.GaussDecayFunctionBuilder LinearDecayFunctionBuilder RandomScoreFunctionBuilder A function that computes a random score for the matched documentsScoreFunctionBuilder<FB extends ScoreFunctionBuilder<FB>> ScoreFunctionBuilders Static method aliases for constructors of knownScoreFunctionBuilder
s.ScriptScoreFunctionBuilder A function that uses a script to compute or influence the score of documents that match with the inner query or filter.ScriptScoreQueryBuilder A query that computes a document score based on the provided scriptWeightBuilder A query that multiplies the weight to the score.