Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldCacheSource

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Inheritance
    object
    ValueSource
    FieldCacheSource
    ByteFieldSource
    BytesRefFieldSource
    DoubleFieldSource
    EnumFieldSource
    Int16FieldSource
    Int32FieldSource
    Int64FieldSource
    JoinDocFreqValueSource
    SingleFieldSource
    Inherited Members
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    ValueSource.ToString()
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(bool)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public abstract class FieldCacheSource : ValueSource

    Constructors

    FieldCacheSource(string)

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Declaration
    protected FieldCacheSource(string field)
    Parameters
    Type Name Description
    string field

    Fields

    m_cache

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Declaration
    protected readonly IFieldCache m_cache
    Field Value
    Type Description
    IFieldCache

    m_field

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Declaration
    protected readonly string m_field
    Field Value
    Type Description
    string

    Properties

    Field

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Declaration
    public virtual string Field { get; }
    Property Value
    Type Description
    string

    FieldCache

    A base class for ValueSource implementations that retrieve values for a single field from the Lucene.Net.Search.FieldCache.

    Declaration
    public virtual IFieldCache FieldCache { get; }
    Property Value
    Type Description
    IFieldCache

    Methods

    Equals(object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    object o
    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    ValueSource.Equals(object)

    GetDescription()

    description of field, used in Explain()

    Declaration
    public override string GetDescription()
    Returns
    Type Description
    string
    Overrides
    ValueSource.GetDescription()

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    ValueSource.GetHashCode()
    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.