Attributes for text analysis.See: Description
| Interface | Description |
|---|---|
| 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 | Description |
|---|---|
| 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 | |
| TermAttributeImpl | Deprecated
This class is not used anymore.
|
| TypeAttributeImpl |
A Token's lexical type.
|
Attributes for text analysis.