Show / Hide Table of Contents

    Interface IPayloadEncoder

    Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to 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
    BytesRef
    | Improve this Doc View Source

    Encode(Char[], Int32, Int32)

    Convert a char array to a 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
    BytesRef

    encoded BytesRef

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)