CopyC#
TeeSinkTokenFilter
passes all tokens to the added sinks when itself is consumed. To be sure, that all tokens from the input stream are passed to the sinks, you can call this methods. This instance is exhausted after this, but all sinks are instant available.

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

Syntax

C#
public void ConsumeAllTokens()
Visual Basic
Public Sub ConsumeAllTokens
Visual C++
public:
void ConsumeAllTokens()

See Also