Constructor RandomTokenStream
RandomTokenStream(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 |