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.Analysis
Assembly: 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

See Also