This class can be used if the token attributes of a TokenStream are intended to be consumed more than once. It caches all token attribute states locally in a List.

CachingTokenFilter implements the optional method {@link TokenStream#Reset()}, which repositions the stream to the first Token.

Namespace: Lucene.Net.Analysis
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public class CachingTokenFilter : TokenFilter
Visual Basic
Public Class CachingTokenFilter _
	Inherits TokenFilter
Visual C++
public ref class CachingTokenFilter : public TokenFilter

Inheritance Hierarchy

See Also