Class ValidatingTokenFilter
A TokenFilter that checks consistency of the tokens (eg offsets are consistent with one another).
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.Analysis
Assembly: Lucene.Net.TestFramework.dll
Syntax
public sealed class ValidatingTokenFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceValidatingTokenFilter(TokenStream, String, Boolean)
The name
is used to identify this stage when
throwing exceptions (useful if you have more than one
instance in your chain).
Declaration
public ValidatingTokenFilter(TokenStream in, string name, bool offsetsAreCorrect)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | in | |
System.String | name | |
System.Boolean | offsetsAreCorrect |
Methods
| Improve this Doc View SourceEnd()
Declaration
public override void End()
Overrides
| 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