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

Packages that use org.apache.lucene.analysis.payloads
Package
Description
org.apache.lucene.analysis.payloads
Provides various convenience classes for creating payloads on Tokens.

- Classes in org.apache.lucene.analysis.payloads used by org.apache.lucene.analysis.payloads
  Class
  Description
  AbstractEncoder
  Base class for payload encoders.
  DelimitedPayloadTokenFilter
  Characters before the delimiter are the "token", those after are the payload.
  NumericPayloadTokenFilter
  Assigns a payload to a token based on the `TypeAttribute`
  PayloadEncoder
  Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to `BytesRef`.
  TokenOffsetPayloadTokenFilter
  Adds the `OffsetAttribute.startOffset()` and `OffsetAttribute.endOffset()` First 4 bytes are the start
  TypeAsPayloadTokenFilter
  Makes the `TypeAttribute` a payload.