Class CachingTokenFilter
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 Reset(), which repositions the stream to the first Token.
Inheritance
System.Object
Lucene.Net.Util.AttributeSource
CachingTokenFilter
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class CachingTokenFilter : TokenFilter, IDisposable
Constructors
Name | Description |
---|---|
CachingTokenFilter(TokenStream) |
Methods
Name | Description |
---|---|
End() | |
IncrementToken() | |
Reset() |