Package-level declarations
Types
This attribute can be used if you have the raw term bytes to be indexed. It can be used as replacement for CharTermAttribute, if binary terms should be indexed.
Implementation class for BytesTermAttribute.
The term text of a Token.
Default implementation of CharTermAttribute.
This attribute can be used to pass different flags down the tokenizer chain.
Default implementation of FlagsAttribute.
This attribute can be used to mark a token as a keyword. Keyword aware TokenStreams can decide to modify a token based on the return value of .isKeyword if the token is modified. Stemming filters for instance can use this attribute to conditionally skip a term if .isKeyword returns true.
Default implementation of KeywordAttribute.
The start and end character offset of a Token.
Simple implementation of OffsetAttribute
Default implementation of the common attributes used by Lucene:
The payload of a Token.
Default implementation of PayloadAttribute.
Determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
Default implementation of PositionIncrementAttribute.
Determines how many positions this token spans. Very few analyzer components actually produce this attribute, and indexing ignores it, but it's useful to express the graph structure naturally produced by decompounding, word splitting/joining, synonym filtering, etc.
Default implementation of PositionLengthAttribute.
Sets the custom term frequency of a term within one document. If this attribute is present in your analysis chain for a given field, that field must be indexed with IndexOptions.DOCS_AND_FREQS.
This attribute is requested by TermsHashPerField to index the contents. This attribute can be used to customize the final byte[] encoding of terms.
A Token's lexical type. The Default value is "word".
Default implementation of TypeAttribute.