A SinkTokenizer can be used to cache Tokens for use in an Analyzer
WARNING: {@link TeeTokenFilter} and {@link SinkTokenizer} only work with the old TokenStream API.
If you switch to the new API, you need to use {@link TeeSinkTokenFilter} instead, which offers
the same functionality.
Namespace: Lucene.Net.AnalysisAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[ObsoleteAttribute("Use TeeSinkTokenFilter instead")] public class SinkTokenizer : Tokenizer |
Visual Basic |
---|
<ObsoleteAttribute("Use TeeSinkTokenFilter instead")> _ Public Class SinkTokenizer _ Inherits Tokenizer |
Visual C++ |
---|
[ObsoleteAttribute(L"Use TeeSinkTokenFilter instead")] public ref class SinkTokenizer : public Tokenizer |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..Tokenizer
Lucene.Net.Analysis..::..SinkTokenizer
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..Tokenizer
Lucene.Net.Analysis..::..SinkTokenizer