Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SingleEncoder

    Encode a character array float as a Lucene.Net.Util.BytesRef.

    NOTE: This was FloatEncoder in Lucene
    Inheritance
    object
    AbstractEncoder
    SingleEncoder
    Implements
    IPayloadEncoder
    Inherited Members
    AbstractEncoder.Encode(char[])
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Analysis.Payloads
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class SingleEncoder : AbstractEncoder, IPayloadEncoder

    Methods

    Encode(char[], int, int)

    Convert a char array to a Lucene.Net.Util.BytesRef

    Declaration
    public override BytesRef Encode(char[] buffer, int offset, int length)
    Parameters
    Type Name Description
    char[] buffer
    int offset
    int length
    Returns
    Type Description
    BytesRef

    encoded Lucene.Net.Util.BytesRef

    Overrides
    AbstractEncoder.Encode(char[], int, int)
    See Also
    EncodeSingle(float, byte[], int)

    Implements

    IPayloadEncoder

    See Also

    EncodeSingle(float, byte[], int)
    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.