Show / Hide Table of Contents

    Class LiteralValueSource

    Pass a the field value through as a , no matter the type // Q: doesn't this mean it's a "str"?

    Inheritance
    System.Object
    ValueSource
    LiteralValueSource
    Inherited Members
    ValueSource.ToString()
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class LiteralValueSource : ValueSource

    Constructors

    | Improve this Doc View Source

    LiteralValueSource(String)

    Declaration
    public LiteralValueSource(string str)
    Parameters
    Type Name Description
    System.String str

    Fields

    | Improve this Doc View Source

    hash

    Declaration
    public static readonly int hash
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    m_bytesRef

    Declaration
    protected readonly BytesRef m_bytesRef
    Field Value
    Type Description
    BytesRef
    | Improve this Doc View Source

    m_str

    Declaration
    protected readonly string m_str
    Field Value
    Type Description
    System.String

    Properties

    | Improve this Doc View Source

    Value

    returns the literal value

    Declaration
    public virtual string Value { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    System.Object o
    Returns
    Type Description
    System.Boolean
    Overrides
    ValueSource.Equals(Object)
    | Improve this Doc View Source

    GetDescription()

    Declaration
    public override string GetDescription()
    Returns
    Type Description
    System.String
    Overrides
    ValueSource.GetDescription()
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    ValueSource.GetHashCode()
    | Improve this Doc View Source

    GetValues(IDictionary, AtomicReaderContext)

    Declaration
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
    Parameters
    Type Name Description
    IDictionary context
    AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)