Class ExpressionValueSourceParser.SolrBindings

  • Enclosing class:
    ExpressionValueSourceParser

    public static class ExpressionValueSourceParser.SolrBindings
    extends org.apache.lucene.expressions.Bindings
    A 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 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 null
        schema - IndexSchema for field bindings
        positionalArgs - List of positional arguments
    • Method Detail

      • getDoubleValuesSource

        public org.apache.lucene.search.DoubleValuesSource getDoubleValuesSource​(String key)
        Specified by:
        getDoubleValuesSource in class org.apache.lucene.expressions.Bindings