Package org.apache.lucene.analysis.tokenattributes

Useful Attributes for text analysis.

See:
          Description

Interface Summary
CharTermAttribute The term text of a Token.
FlagsAttribute This attribute can be used to pass different flags down the Tokenizer chain, eg from one TokenFilter to another one.
KeywordAttribute This attribute can be used to mark a token as a keyword.
OffsetAttribute The start and end character offset of a Token.
PayloadAttribute The payload of a Token.
PositionIncrementAttribute The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
PositionLengthAttribute The positionLength determines how many positions this token spans.
TermAttribute Deprecated. Use CharTermAttribute instead.
TypeAttribute A Token's lexical type.
 

Class Summary
CharTermAttributeImpl The term text of a Token.
FlagsAttributeImpl This attribute can be used to pass different flags down the tokenizer chain, eg from one TokenFilter to another one.
KeywordAttributeImpl This attribute can be used to mark a token as a keyword.
OffsetAttributeImpl The start and end character offset of a Token.
PayloadAttributeImpl The payload of a Token.
PositionIncrementAttributeImpl The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
PositionLengthAttributeImpl See PositionLengthAttribute.
TermAttributeImpl Deprecated. This class is not used anymore.
TypeAttributeImpl A Token's lexical type.
 

Package org.apache.lucene.analysis.tokenattributes Description

Useful Attributes for text analysis.