Package org.apache.solr.search
Class ExpressionValueSourceParser.SolrBindings
- java.lang.Object
-
- org.apache.lucene.expressions.Bindings
-
- org.apache.solr.search.ExpressionValueSourceParser.SolrBindings
-
- Enclosing class:
- ExpressionValueSourceParser
public static class ExpressionValueSourceParser.SolrBindings extends org.apache.lucene.expressions.BindingsA bindings class that uses schema fields to resolve variables.- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description SolrBindings(String scoreKey, IndexSchema schema, List<org.apache.lucene.search.DoubleValuesSource> positionalArgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.DoubleValuesSourcegetDoubleValuesSource(String key)
-
-
-
Constructor Detail
-
SolrBindings
public SolrBindings(String scoreKey, IndexSchema schema, List<org.apache.lucene.search.DoubleValuesSource> positionalArgs)
- Parameters:
scoreKey- The binding name that should be used to represent the score, may be nullschema- IndexSchema for field bindingspositionalArgs- List of positional arguments
-
-
Method Detail
-
getDoubleValuesSource
public org.apache.lucene.search.DoubleValuesSource getDoubleValuesSource(String key)
- Specified by:
getDoubleValuesSourcein classorg.apache.lucene.expressions.Bindings
-
-