Class MockHoleInjectingTokenFilter
Randomly injects holes (similar to what a stopfilter would do)
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 MockHoleInjectingTokenFilter : TokenFilter, IDisposable
Constructors
| Improve this Doc View SourceMockHoleInjectingTokenFilter(Random, TokenStream)
Declaration
public MockHoleInjectingTokenFilter(Random random, TokenStream in)
Parameters
Type | Name | Description |
---|---|---|
System.Random | random | |
TokenStream | in |
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