Uses of Class
org.apache.lucene.expressions.Bindings
Packages that use Bindings
-
Uses of Bindings in org.apache.lucene.expressions
Subclasses of Bindings in org.apache.lucene.expressionsModifier and TypeClassDescriptionfinal class
Simple class that binds expression variable names toDoubleValuesSource
s or otherExpression
s.private class
Fields in org.apache.lucene.expressions declared as BindingsFields in org.apache.lucene.expressions with type parameters of type BindingsModifier and TypeFieldDescriptionprivate final Map
<String, Function<Bindings, DoubleValuesSource>> SimpleBindings.map
Methods in org.apache.lucene.expressions with parameters of type BindingsModifier and TypeMethodDescriptionExpression.getDoubleValuesSource
(Bindings bindings) Get a DoubleValuesSource which can compute the value of this expression in the context of the given bindings.Expression.getRescorer
(Bindings bindings) Get aRescorer
, to rescore first-pass hits using this expression.Expression.getSortField
(Bindings bindings, boolean reverse) Get a sort field which can be used to rank documents by this expression.Constructors in org.apache.lucene.expressions with parameters of type BindingsModifierConstructorDescription(package private)
CachingExpressionValueSource
(Bindings bindings, Expression expression) ExpressionRescorer
(Expression expression, Bindings bindings) Uses the providedExpression
to assign second pass scores.(package private)
ExpressionValueSource
(Bindings bindings, Expression expression)