Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Bindings

    Binds variable names in expressions to actual data.

    Inheritance
    object
    Bindings
    SimpleBindings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Expressions
    Assembly: Lucene.Net.Expressions.dll
    Syntax
    public abstract class Bindings
    Remarks

    Binds variable names in expressions to actual data.

    These are typically DocValues fields/FieldCache, the document's relevance score, or other Lucene.Net.Queries.Function.ValueSources.
    Note

    This API is experimental and might change in incompatible ways in the next release.

    Constructors

    Bindings()

    Sole constructor.

    Declaration
    public Bindings()
    Remarks

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

    Methods

    GetScoreValueSource()

    Returns a Lucene.Net.Queries.Function.ValueSource over relevance scores

    Declaration
    protected static ValueSource GetScoreValueSource()
    Returns
    Type Description
    ValueSource
    Remarks

    Binds variable names in expressions to actual data.

    These are typically DocValues fields/FieldCache, the document's relevance score, or other Lucene.Net.Queries.Function.ValueSources.
    Note

    This API is experimental and might change in incompatible ways in the next release.

    GetValueSource(string)

    Returns a Lucene.Net.Queries.Function.ValueSource bound to the variable name.

    Declaration
    public abstract ValueSource GetValueSource(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    ValueSource
    Remarks

    Binds variable names in expressions to actual data.

    These are typically DocValues fields/FieldCache, the document's relevance score, or other Lucene.Net.Queries.Function.ValueSources.
    Note

    This API is experimental and might change in incompatible ways in the next release.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.