Uses of Class
org.apache.lucene.analysis.Token
Packages that use Token
Package
Description
API and code to convert text into indexable/searchable tokens.
-
Uses of Token in org.apache.lucene.analysis
Methods in org.apache.lucene.analysis that return TokenModifier and TypeMethodDescriptionToken.clone()
Token.clone
(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset) Makes a clone, but replaces the term buffer & start/end offset in the process.Token.reinit
(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset) Shorthand for callingclear()
,CharTermAttributeImpl.copyBuffer(char[], int, int)
,setOffset(int, int)
,setType(java.lang.String)
on Token.DEFAULT_TYPEToken.reinit
(char[] newTermBuffer, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, String newType) Shorthand for callingclear()
,CharTermAttributeImpl.copyBuffer(char[], int, int)
,setOffset(int, int)
,setType(java.lang.String)
Shorthand for callingclear()
,CharTermAttributeImpl.append(CharSequence)
,setOffset(int, int)
,setType(java.lang.String)
on Token.DEFAULT_TYPEToken.reinit
(String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset) Shorthand for callingclear()
,CharTermAttributeImpl.append(CharSequence, int, int)
,setOffset(int, int)
,setType(java.lang.String)
on Token.DEFAULT_TYPEToken.reinit
(String newTerm, int newTermOffset, int newTermLength, int newStartOffset, int newEndOffset, String newType) Shorthand for callingclear()
,CharTermAttributeImpl.append(CharSequence, int, int)
,setOffset(int, int)
,setType(java.lang.String)
Shorthand for callingclear()
,CharTermAttributeImpl.append(CharSequence)
,setOffset(int, int)
,setType(java.lang.String)
Methods in org.apache.lucene.analysis with parameters of type TokenModifier and TypeMethodDescriptionvoid
Copy the prototype token's fields into this one.void
Copy the prototype token's fields into this one, with a different term.void
Copy the prototype token's fields into this one, with a different term.