Package | Description |
---|---|
org.apache.lucene.analysis |
API and code to convert text into indexable/searchable tokens.
|
org.apache.lucene.analysis.sinks |
Implementations of the SinkTokenizer that might be useful.
|
Constructor and Description |
---|
TeeTokenFilter(TokenStream input,
SinkTokenizer sink) |
Modifier and Type | Class and Description |
---|---|
class |
DateRecognizerSinkTokenizer
Attempts to parse the
Token.termBuffer() as a Date using a DateFormat . |
class |
TokenRangeSinkTokenizer
Counts the tokens as they go by and saves to the internal list those between the range of lower and upper, exclusive of upper
|
class |
TokenTypeSinkTokenizer
If the
Token.type() matches the passed in typeToMatch then
add it to the sink |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.