Package org.apache.lucene.analysis.tokenattributes
package org.apache.lucene.analysis.tokenattributes
General-purpose attributes for text analysis.
-
ClassDescriptionThe term text of a Token.Default implementation of
CharTermAttribute
.This attribute can be used to pass different flags down theTokenizer
chain, e.g.Default implementation ofFlagsAttribute
.This attribute can be used to mark a token as a keyword.Default implementation ofKeywordAttribute
.The start and end character offset of a Token.Default implementation ofOffsetAttribute
.The payload of a Token.Default implementation ofPayloadAttribute
.Determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.Default implementation ofPositionIncrementAttribute
.Determines how many positions this token spans.Default implementation ofPositionLengthAttribute
.This attribute is requested by TermsHashPerField to index the contents.A Token's lexical type.Default implementation ofTypeAttribute
.