Class Bindings

  • Direct Known Subclasses:
    SimpleBindings

    public abstract class Bindings
    extends Object
    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 Detail

      • Bindings

        protected Bindings()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • getDoubleValuesSource

        public abstract DoubleValuesSource getDoubleValuesSource​(String name)
        Returns a DoubleValuesSource bound to the variable name