Uses of Package
org.apache.lucene.analysis.payloads
Package
Description
Provides various convenience classes for creating payloads on Tokens.
-
ClassDescriptionBase class for payload encoders.Characters before the delimiter are the "token", those after are the payload.Assigns a payload to a token based on the
TypeAttribute
Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers toBytesRef
.Adds theOffsetAttribute.startOffset()
andOffsetAttribute.endOffset()
First 4 bytes are the startMakes theTypeAttribute
a payload.