Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.standard |
A fast grammar-based tokenizer constructed with JFlex.
|
Modifier and Type | Method and Description |
---|---|
Token |
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 |
CharTokenizer.next()
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
ISOLatin1AccentFilter.next()
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
TokenStream.next()
Deprecated.
The returned Token is a "full private copy" (not re-used across
calls to
TokenStream.next() ) but will be slower than calling
TokenStream.next(Token) or using the new TokenStream.incrementToken()
method with the new AttributeSource API. |
Token |
KeywordTokenizer.next()
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
CachingTokenFilter.next()
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
SinkTokenizer.next(Token reusableToken)
Deprecated.
Returns the next token out of the list of cached tokens
|
Token |
CharTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
ISOLatin1AccentFilter.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
TokenStream.next(Token reusableToken)
Deprecated.
The new
TokenStream.incrementToken() and AttributeSource
APIs should be used instead. |
Token |
KeywordTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
CachingTokenFilter.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
TeeTokenFilter.next(Token reusableToken)
Deprecated.
|
Token |
Token.reinit(char[] newTermBuffer,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset)
Shorthand for calling
clear() ,
setTermBuffer(char[], int, int) ,
setStartOffset(int) ,
setEndOffset(int)
setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(char[] newTermBuffer,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset,
java.lang.String newType)
Shorthand for calling
clear() ,
setTermBuffer(char[], int, int) ,
setStartOffset(int) ,
setEndOffset(int) ,
setType(java.lang.String) |
Token |
Token.reinit(java.lang.String newTerm,
int newStartOffset,
int newEndOffset)
Shorthand for calling
clear() ,
setTermBuffer(String) ,
setStartOffset(int) ,
setEndOffset(int)
setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(java.lang.String newTerm,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset)
Shorthand for calling
clear() ,
setTermBuffer(String, int, int) ,
setStartOffset(int) ,
setEndOffset(int)
setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(java.lang.String newTerm,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset,
java.lang.String newType)
Shorthand for calling
clear() ,
setTermBuffer(String, int, int) ,
setStartOffset(int) ,
setEndOffset(int)
setType(java.lang.String) |
Token |
Token.reinit(java.lang.String newTerm,
int newStartOffset,
int newEndOffset,
java.lang.String newType)
Shorthand for calling
clear() ,
setTermBuffer(String) ,
setStartOffset(int) ,
setEndOffset(int)
setType(java.lang.String) |
Modifier and Type | Method and Description |
---|---|
void |
SinkTokenizer.add(Token t)
Deprecated.
Override this method to cache only certain tokens, or new tokens based
on the old tokens.
|
Token |
SinkTokenizer.next(Token reusableToken)
Deprecated.
Returns the next token out of the list of cached tokens
|
Token |
CharTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
ISOLatin1AccentFilter.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
TokenStream.next(Token reusableToken)
Deprecated.
The new
TokenStream.incrementToken() and AttributeSource
APIs should be used instead. |
Token |
KeywordTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
CachingTokenFilter.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
TeeTokenFilter.next(Token reusableToken)
Deprecated.
|
void |
Token.reinit(Token prototype)
Copy the prototype token's fields into this one.
|
void |
Token.reinit(Token prototype,
char[] newTermBuffer,
int offset,
int length)
Copy the prototype token's fields into this one, with a different term.
|
void |
Token.reinit(Token prototype,
java.lang.String newTerm)
Copy the prototype token's fields into this one, with a different term.
|
Modifier and Type | Method and Description |
---|---|
Token |
StandardTokenizer.next()
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Token |
StandardTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Modifier and Type | Method and Description |
---|---|
Token |
StandardTokenizer.next(Token reusableToken)
Deprecated.
Will be removed in Lucene 3.0. This method is final, as it should
not be overridden. Delegates to the backwards compatibility layer.
|
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.