This method is called by the consumer after the last token has been consumed, after {@link #IncrementToken()} returned
CopyC#
false
(using the new
CopyC#
TokenStream
API). Streams implementing the old API should upgrade to use this feature.

This method can be used to perform any end-of-stream operations, such as setting the final offset of a stream. The final offset of a stream might differ from the offset of the last token eg in case one or more whitespaces followed after the last token, but a {@link WhitespaceTokenizer} was used.

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

Syntax

C#
public virtual void End()
Visual Basic
Public Overridable Sub End
Visual C++
public:
virtual void End()

See Also