Show / Hide Table of Contents

    Class Bindings

    Binds variable names in expressions to actual data.

    Inheritance
    System.Object
    Bindings
    SimpleBindings
    Namespace: Lucene.Net.Expressions
    Assembly: Lucene.Net.Expressions.dll
    Syntax
    public abstract class Bindings : object
    Remarks

    Binds variable names in expressions to actual data.

    These are typically DocValues fields/FieldCache, the document's relevance score, or other ValueSources.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk

    Constructors

    | Improve this Doc View Source

    Bindings()

    Sole constructor.

    Declaration
    public Bindings()
    Remarks

    Sole constructor. (For invocation by subclass constructors, typically implicit.)

    Methods

    | Improve this Doc View Source

    GetScoreValueSource()

    Returns a ValueSource over relevance scores

    Declaration
    protected ValueSource GetScoreValueSource()
    Returns
    Type Description
    ValueSource
    | Improve this Doc View Source

    GetValueSource(String)

    Returns a ValueSource bound to the variable name.

    Declaration
    public abstract ValueSource GetValueSource(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    ValueSource
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)