Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.apache.lucene.analysis.payloads

Provides various convenience classes for creating payloads on Tokens.

See:
Description

Interface Summary
PayloadEncoder | Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to Payload.

Class Summary
AbstractEncoder | Base class for payload encoders.
DelimitedPayloadTokenFilter | Characters before the delimiter are the "token", those after are the payload.
FloatEncoder | Encode a character array Float as a `Payload`.
IdentityEncoder | Does nothing other than convert the char array to a byte array using the specified encoding.
IntegerEncoder | Encode a character array Integer as a `Payload`.
NumericPayloadTokenFilter | Assigns a payload to a token based on the `Token.type()`
PayloadHelper | Utility methods for encoding payloads.
TokenOffsetPayloadTokenFilter | Adds the `Token.setStartOffset(int)` and `Token.setEndOffset(int)` First 4 bytes are the start
TypeAsPayloadTokenFilter | Makes the `Token.type()` a payload.

## Package org.apache.lucene.analysis.payloads Description

Provides various convenience classes for creating payloads on Tokens.
Copyright © 2007 Apache Software Foundation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES