Package-level declarations
Types
Link copied to clipboard
Base class for payload encoders.
Link copied to clipboard
class DelimitedPayloadTokenFilter(input: TokenStream, delimiter: Char, encoder: PayloadEncoder) : TokenFilter
Characters before the delimiter are the "token", those after are the payload.
Link copied to clipboard
Link copied to clipboard
Encode a character array Float as a BytesRef.
Link copied to clipboard
Does nothing other than convert the char array to a byte array using the specified encoding.
Link copied to clipboard
Encode a character array Integer as a BytesRef.
Link copied to clipboard
class NumericPayloadTokenFilter(input: TokenStream, payload: Float, typeMatch: String) : TokenFilter
Assigns a payload to a token based on the TypeAttribute.
Link copied to clipboard
Factory for NumericPayloadTokenFilter.
Link copied to clipboard
interface PayloadEncoder
Mainly for use with the DelimitedPayloadTokenFilter, converts char buffers to BytesRef.
Link copied to clipboard
class PayloadHelper
Utility methods for encoding payloads.
Link copied to clipboard
Adds the OffsetAttribute.startOffset and OffsetAttribute.endOffset. First 4 bytes are the start.
Link copied to clipboard
Factory for TokenOffsetPayloadTokenFilter.
Link copied to clipboard
Makes the TypeAttribute a payload.
Link copied to clipboard
Factory for TypeAsPayloadTokenFilter.