Package org.apache.lucene.analysis.sinks
TeeSinkTokenFilter
and implementations
of TeeSinkTokenFilter.SinkFilter
that
might be useful.-
Class Summary Class Description DateRecognizerSinkFilter Attempts to parse theCharTermAttribute.buffer()
as a Date using aDateFormat
.TeeSinkTokenFilter This TokenFilter provides the ability to set aside attribute states that have already been analyzed.TeeSinkTokenFilter.SinkFilter A filter that decides whichAttributeSource
states to store in the sink.TeeSinkTokenFilter.SinkTokenStream TokenStream output from a tee with optional filtering.TokenRangeSinkFilter Counts the tokens as they go by and saves to the internal list those between the range of lower and upper, exclusive of upperTokenTypeSinkFilter Adds a token to the sink if it has a specific type.