Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface FieldCache.ISingleParser

    Interface to parse floats from document fields.

    NOTE: This was FloatParser in Lucene
    Inherited Members
    FieldCache.IParser.GetTermsEnum(Terms)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public interface FieldCache.ISingleParser : FieldCache.IParser

    Methods

    ParseSingle(BytesRef)

    Return an float 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
    float
    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.