Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface FieldCache.ISingleParser

    Interface to parse System.Singles from document fields.

    NOTE: This was FloatParser in Lucene

    Inherited Members
    FieldCache.IParser.TermsEnum(Terms)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public interface ISingleParser : FieldCache.IParser

    Methods

    | Improve this Doc View Source

    ParseSingle(BytesRef)

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

    NOTE: This was parseFloat() in Lucene

    Declaration
    float ParseSingle(BytesRef term)
    Parameters
    Type Name Description
    BytesRef term
    Returns
    Type Description
    System.Single
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.