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 SourceEncode(Char[])
Declaration
BytesRef Encode(char[] buffer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Char[] | buffer | 
Returns
| Type | Description | 
|---|---|
| BytesRef | 
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  |