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.AnalysisAssembly: 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
System..::..Object
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..TokenFilter
Lucene.Net.Analysis..::..CachingTokenFilter
Lucene.Net.Util..::..AttributeSource
Lucene.Net.Analysis..::..TokenStream
Lucene.Net.Analysis..::..TokenFilter
Lucene.Net.Analysis..::..CachingTokenFilter