Package | Description |
---|---|
org.apache.lucene.analysis.payloads |
Provides various convenience classes for creating payloads on Tokens.
|
Class and 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. |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.