Uses of Interface
org.apache.lucene.analysis.tokenattributes.CharTermAttribute
Package
Description
Fast, general-purpose grammar-based tokenizer
StandardTokenizer
implements the Word Break rules from the
Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.General-purpose attributes for text analysis.
-
Uses of CharTermAttribute in org.apache.lucene.analysis.standard
Modifier and TypeMethodDescriptionfinal void
StandardTokenizerImpl.getText
(CharTermAttribute t) Fills CharTermAttribute with the current token text. -
Uses of CharTermAttribute in org.apache.lucene.analysis.tokenattributes
Modifier and TypeClassDescriptionclass
Default implementation ofCharTermAttribute
.class
Default implementation of the common attributes used by Lucene:CharTermAttribute
TypeAttribute
PositionIncrementAttribute
PositionLengthAttribute
OffsetAttribute
TermFrequencyAttribute
Modifier and TypeMethodDescriptionCharTermAttribute.append
(char c) CharTermAttribute.append
(CharSequence csq) CharTermAttribute.append
(CharSequence csq, int start, int end) Appends the specifiedString
to this character sequence.CharTermAttribute.append
(StringBuilder sb) Appends the specifiedStringBuilder
to this character sequence.CharTermAttribute.append
(CharTermAttribute termAtt) Appends the contents of the otherCharTermAttribute
to this character sequence.final CharTermAttribute
CharTermAttributeImpl.append
(char c) final CharTermAttribute
CharTermAttributeImpl.append
(CharSequence csq) final CharTermAttribute
CharTermAttributeImpl.append
(CharSequence csq, int start, int end) final CharTermAttribute
final CharTermAttribute
CharTermAttributeImpl.append
(StringBuilder s) final CharTermAttribute
CharTermAttributeImpl.append
(CharTermAttribute ta) CharTermAttribute.setEmpty()
Sets the length of the termBuffer to zero.final CharTermAttribute
CharTermAttributeImpl.setEmpty()
CharTermAttribute.setLength
(int length) Set number of valid characters (length of the term) in the termBuffer array.final CharTermAttribute
CharTermAttributeImpl.setLength
(int length) Modifier and TypeMethodDescriptionCharTermAttribute.append
(CharTermAttribute termAtt) Appends the contents of the otherCharTermAttribute
to this character sequence.final CharTermAttribute
CharTermAttributeImpl.append
(CharTermAttribute ta)