Package org.apache.lucene.expressions
Class Bindings
java.lang.Object
org.apache.lucene.expressions.Bindings
- Direct Known Subclasses:
SimpleBindings
Binds variable names in expressions to actual data.
These are typically DocValues fields/FieldCache, the document's relevance score, or other ValueSources.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract DoubleValuesSource
getDoubleValuesSource
(String name) Returns a DoubleValuesSource bound to the variable name
-
Constructor Details
-
Bindings
protected Bindings()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details
-
getDoubleValuesSource
Returns a DoubleValuesSource bound to the variable name
-