Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SingleFieldSource

    Obtains System.Single field values from GetSingles(AtomicReader, String, FieldCache.ISingleParser, Boolean) and makes those values available as other numeric types, casting as needed.

    NOTE: This was FloatFieldSource in Lucene

    Inheritance
    System.Object
    ValueSource
    FieldCacheSource
    SingleFieldSource
    Inherited Members
    FieldCacheSource.m_field
    FieldCacheSource.m_cache
    FieldCacheSource.FieldCache
    FieldCacheSource.Field
    ValueSource.ToString()
    ValueSource.CreateWeight(IDictionary, IndexSearcher)
    ValueSource.NewContext(IndexSearcher)
    ValueSource.GetSortField(Boolean)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Queries.Function.ValueSources
    Assembly: Lucene.Net.Queries.dll
    Syntax
    public class SingleFieldSource : FieldCacheSource

    Constructors

    | Improve this Doc View Source

    SingleFieldSource(String)

    Declaration
    public SingleFieldSource(string field)
    Parameters
    Type Name Description
    System.String field
    | Improve this Doc View Source

    SingleFieldSource(String, FieldCache.ISingleParser)

    Declaration
    public SingleFieldSource(string field, FieldCache.ISingleParser parser)
    Parameters
    Type Name Description
    System.String field
    Lucene.Net.Search.FieldCache.ISingleParser parser

    Fields

    | Improve this Doc View Source

    m_parser

    Declaration
    protected readonly FieldCache.ISingleParser m_parser
    Field Value
    Type Description
    Lucene.Net.Search.FieldCache.ISingleParser

    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
    FieldCacheSource.Equals(Object)
    | Improve this Doc View Source

    GetDescription()

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

    GetHashCode()

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

    GetValues(IDictionary, AtomicReaderContext)

    Declaration
    public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
    Parameters
    Type Name Description
    System.Collections.IDictionary context
    Lucene.Net.Index.AtomicReaderContext readerContext
    Returns
    Type Description
    FunctionValues
    Overrides
    ValueSource.GetValues(IDictionary, AtomicReaderContext)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.