Class OffsetLimitTokenFilter
This TokenFilter limits the number of tokens while indexing by adding up the current offset.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search.Highlight
Assembly: Lucene.Net.Highlighter.dll
Syntax
public sealed class OffsetLimitTokenFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceOffsetLimitTokenFilter(TokenStream, Int32)
Declaration
public OffsetLimitTokenFilter(TokenStream input, int offsetLimit)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | input | |
System.Int32 | offsetLimit |
Methods
| Improve this Doc View SourceIncrementToken()
Declaration
public override bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceReset()
Declaration
public override void Reset()
Overrides
Implements
System.IDisposable