Uses of Class
com.yahoo.searchlib.rankingexpression.RankingExpression
Packages that use RankingExpression
Package
Description
Ranking expression execution library, see
RankingExpression
.Execution engine for ranking expressions
-
Uses of RankingExpression in com.yahoo.searchlib.rankingexpression
Methods in com.yahoo.searchlib.rankingexpression that return RankingExpressionModifier and TypeMethodDescriptionRankingExpression.copy()
Returns a deep copy of this expressionstatic RankingExpression
Creates a ranking expression from a stringExpressionFunction.getBody()
Methods in com.yahoo.searchlib.rankingexpression with parameters of type RankingExpressionModifier and TypeMethodDescriptionExpressionFunction.withBody
(RankingExpression body) Returns a copy of this with the body changed to the given valueConstructors in com.yahoo.searchlib.rankingexpression with parameters of type RankingExpressionModifierConstructorDescriptionExpressionFunction
(String name, RankingExpression body) Constructs a new function with no argumentsExpressionFunction
(String name, List<String> arguments, RankingExpression body) Constructs a new functionExpressionFunction
(String name, List<String> arguments, RankingExpression body, Map<String, com.yahoo.tensor.TensorType> argumentTypes, Optional<com.yahoo.tensor.TensorType> returnType) -
Uses of RankingExpression in com.yahoo.searchlib.rankingexpression.evaluation
Methods in com.yahoo.searchlib.rankingexpression.evaluation with parameters of type RankingExpressionModifier and TypeMethodDescriptionExpressionOptimizer.optimize
(RankingExpression expression, AbstractArrayContext arrayContext) ExpressionOptimizer.optimize
(RankingExpression expression, ContextIndex contextIndex) abstract void
Optimizer.optimize
(RankingExpression expression, ContextIndex context, OptimizationReport report) Constructors in com.yahoo.searchlib.rankingexpression.evaluation with parameters of type RankingExpressionModifierConstructorDescriptionprotected
AbstractArrayContext
(RankingExpression expression) Create a fast lookup context for an expression.protected
AbstractArrayContext
(RankingExpression expression, boolean ignoreUnknownValues) protected
AbstractArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression.ArrayContext
(RankingExpression expression) Create a fast lookup context for an expression.ArrayContext
(RankingExpression expression, boolean ignoreUnknownValues) ArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression.ArrayContext
(RankingExpression expression, Value defaultValue) DoubleOnlyArrayContext
(RankingExpression expression) Create a fast lookup context for an expression.DoubleOnlyArrayContext
(RankingExpression expression, boolean ignoreUnknownValues) DoubleOnlyArrayContext
(RankingExpression expression, boolean ignoreUnknownValues, Value missingValue) Create a fast lookup context for an expression. -
Uses of RankingExpression in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization
Methods in com.yahoo.searchlib.rankingexpression.evaluation.gbdtoptimization with parameters of type RankingExpressionModifier and TypeMethodDescriptionvoid
GBDTForestOptimizer.optimize
(RankingExpression expression, ContextIndex context, OptimizationReport report) Optimizes sums of GBDTNodes by replacing them by a single GBDTForestNodevoid
GBDTOptimizer.optimize
(RankingExpression expression, ContextIndex context, OptimizationReport report) Optimizes this by replacing GBDT sub-expressions by GBDTNodes. -
Uses of RankingExpression in com.yahoo.searchlib.rankingexpression.evaluation.tensoroptimization
Methods in com.yahoo.searchlib.rankingexpression.evaluation.tensoroptimization with parameters of type RankingExpressionModifier and TypeMethodDescriptionvoid
TensorOptimizer.optimize
(RankingExpression expression, ContextIndex context, OptimizationReport report) -
Uses of RankingExpression in com.yahoo.searchlib.rankingexpression.transform
Methods in com.yahoo.searchlib.rankingexpression.transform that return RankingExpressionModifier and TypeMethodDescriptionExpressionTransformer.transform
(RankingExpression expression, CONTEXT context) Methods in com.yahoo.searchlib.rankingexpression.transform with parameters of type RankingExpressionModifier and TypeMethodDescriptionExpressionTransformer.transform
(RankingExpression expression, CONTEXT context)