Class BaseTermVectorsFormatTestCase.RandomTokenStream
Inheritance
System.Object
BaseTermVectorsFormatTestCase.RandomTokenStream
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.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
protected class RandomTokenStream : TokenStream, IDisposable
Constructors
| Improve this Doc View SourceRandomTokenStream(BaseTermVectorsFormatTestCase, Int32, String[], BytesRef[])
Declaration
protected RandomTokenStream(BaseTermVectorsFormatTestCase outerInstance, int len, string[] sampleTerms, BytesRef[] sampleTermBytes)
Parameters
Type | Name | Description |
---|---|---|
BaseTermVectorsFormatTestCase | outerInstance | |
System.Int32 | len | |
System.String[] | sampleTerms | |
BytesRef[] | sampleTermBytes |
RandomTokenStream(BaseTermVectorsFormatTestCase, Int32, String[], BytesRef[], Boolean)
Declaration
protected RandomTokenStream(BaseTermVectorsFormatTestCase outerInstance, int len, string[] sampleTerms, BytesRef[] sampleTermBytes, bool offsetsGoBackwards)
Parameters
Type | Name | Description |
---|---|---|
BaseTermVectorsFormatTestCase | outerInstance | |
System.Int32 | len | |
System.String[] | sampleTerms | |
BytesRef[] | sampleTermBytes | |
System.Boolean | offsetsGoBackwards |
Methods
| Improve this Doc View SourceHasPayloads()
Declaration
public virtual bool HasPayloads()
Returns
Type | Description |
---|---|
System.Boolean |
IncrementToken()
Declaration
public override sealed bool IncrementToken()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Implements
System.IDisposable