Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
Modifier and Type | Method and Description |
---|---|
Token |
Token.clone()
Deprecated.
|
Token |
Token.reinit(char[] newTermBuffer,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset)
Deprecated.
Shorthand for calling
clear() ,
CharTermAttributeImpl.copyBuffer(char[], int, int) ,
PackedTokenAttributeImpl.setOffset(int, int) ,
PackedTokenAttributeImpl.setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(char[] newTermBuffer,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset,
String newType)
Deprecated.
|
Token |
Token.reinit(String newTerm,
int newStartOffset,
int newEndOffset)
Deprecated.
Shorthand for calling
clear() ,
CharTermAttributeImpl.append(CharSequence) ,
PackedTokenAttributeImpl.setOffset(int, int) ,
PackedTokenAttributeImpl.setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(String newTerm,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset)
Deprecated.
Shorthand for calling
clear() ,
CharTermAttributeImpl.append(CharSequence, int, int) ,
PackedTokenAttributeImpl.setOffset(int, int) ,
PackedTokenAttributeImpl.setType(java.lang.String) on Token.DEFAULT_TYPE |
Token |
Token.reinit(String newTerm,
int newTermOffset,
int newTermLength,
int newStartOffset,
int newEndOffset,
String newType)
Deprecated.
|
Token |
Token.reinit(String newTerm,
int newStartOffset,
int newEndOffset,
String newType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Token.reinit(Token prototype)
Deprecated.
Copy the prototype token's fields into this one.
|
void |
Token.reinit(Token prototype,
char[] newTermBuffer,
int offset,
int length)
Deprecated.
Copy the prototype token's fields into this one, with a different term.
|
void |
Token.reinit(Token prototype,
String newTerm)
Deprecated.
Copy the prototype token's fields into this one, with a different term.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.