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
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Singles : object

    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 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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)