Package | Description |
---|---|
org.apache.lucene.analysis |
Text analysis.
|
org.apache.lucene.analysis.ngram |
Character n-gram tokenizers and filters.
|
org.apache.lucene.analysis.util |
Utility functions for text analysis.
|
Modifier and Type | Method and Description |
---|---|
static CharacterUtils.CharacterBuffer |
CharacterUtils.newCharacterBuffer(int bufferSize)
Creates a new
CharacterUtils.CharacterBuffer and allocates a char[]
of the given bufferSize. |
Modifier and Type | Method and Description |
---|---|
static boolean |
CharacterUtils.fill(CharacterUtils.CharacterBuffer buffer,
java.io.Reader reader)
Convenience method which calls
fill(buffer, reader, buffer.buffer.length) . |
static boolean |
CharacterUtils.fill(CharacterUtils.CharacterBuffer buffer,
java.io.Reader reader,
int numChars)
Fills the
CharacterUtils.CharacterBuffer with characters read from the given
reader Reader . |
Modifier and Type | Field and Description |
---|---|
private CharacterUtils.CharacterBuffer |
NGramTokenizer.charBuffer |
Modifier and Type | Field and Description |
---|---|
private CharacterUtils.CharacterBuffer |
CharTokenizer.ioBuffer |