Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Interface IPayloadEncoder

    Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to Lucene.Net.Util.BytesRef.

    NOTE: This interface is subject to change

    Namespace: Lucene.Net.Analysis.Payloads
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public interface IPayloadEncoder

    Methods

    | Improve this Doc View Source

    Encode(Char[])

    Declaration
    BytesRef Encode(char[] buffer)
    Parameters
    Type Name Description
    System.Char[] buffer
    Returns
    Type Description
    Lucene.Net.Util.BytesRef
    | Improve this Doc View Source

    Encode(Char[], Int32, Int32)

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

    Declaration
    BytesRef Encode(char[] buffer, int offset, int length)
    Parameters
    Type Name Description
    System.Char[] buffer
    System.Int32 offset
    System.Int32 length
    Returns
    Type Description
    Lucene.Net.Util.BytesRef

    encoded Lucene.Net.Util.BytesRef

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 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.