Override this method to cache only certain tokens, or new tokens based on the old tokens.

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

Syntax

C#
public virtual void Add(
	Token t
)
Visual Basic
Public Overridable Sub Add ( _
	t As Token _
)
Visual C++
public:
virtual void Add(
	Token^ t
)

Parameters

t
Type: Lucene.Net.Analysis..::..Token
The {@link Lucene.Net.Analysis.Token} to add to the sink

See Also