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.
|
Modifier and Type | Method and Description |
---|---|
TeeSinkTokenFilter.SinkTokenStream |
TeeSinkTokenFilter.newSinkTokenStream(TeeSinkTokenFilter.SinkFilter filter)
Returns a new
TeeSinkTokenFilter.SinkTokenStream that receives all tokens consumed by this stream
that pass the supplied filter. |
Modifier and Type | Class and Description |
---|---|
class |
DateRecognizerSinkFilter
Attempts to parse the
CharTermAttributeImpl.termBuffer() as a Date using a DateFormat . |
class |
TokenRangeSinkFilter
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 |
TokenTypeSinkFilter
Adds a token to the sink if it has a specific type.
|