Show / Hide Table of Contents

    Class FieldCache.Singles

    Field values as 32-bit floats

    NOTE: This was Floats in Lucene

    Inheritance
    System.Object
    FieldCache.Singles
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Singles

    Fields

    | Improve this Doc View Source

    EMPTY

    Zero value for every document

    Declaration
    public static readonly FieldCache.Singles EMPTY
    Field Value
    Type Description
    FieldCache.Singles

    Methods

    | Improve this Doc View Source

    Get(Int32)

    Return an System.Single representation of this field's value.

    Declaration
    public abstract float Get(int docID)
    Parameters
    Type Name Description
    System.Int32 docID
    Returns
    Type Description
    System.Single

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)