Class OffsetLimitTokenFilter

All Implemented Interfaces:
Closeable, AutoCloseable, Unwrappable<TokenStream>

public final class OffsetLimitTokenFilter extends TokenFilter
This TokenFilter limits the number of tokens while indexing by adding up the current offset.