Class BaseTermVectorsFormatTestCase.RandomDocument
Inheritance
System.Object
BaseTermVectorsFormatTestCase.RandomDocument
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
protected class RandomDocument
Constructors
| Improve this Doc View SourceRandomDocument(BaseTermVectorsFormatTestCase, Int32, Int32, BaseTermVectorsFormatTestCase.Options, String[], String[], BytesRef[])
Declaration
protected RandomDocument(BaseTermVectorsFormatTestCase baseTermVectorsFormaTestCase, int fieldCount, int maxTermCount, BaseTermVectorsFormatTestCase.Options options, string[] fieldNames, string[] sampleTerms, BytesRef[] sampleTermBytes)
Parameters
Type | Name | Description |
---|---|---|
BaseTermVectorsFormatTestCase | baseTermVectorsFormaTestCase | |
System.Int32 | fieldCount | |
System.Int32 | maxTermCount | |
BaseTermVectorsFormatTestCase.Options | options | |
System.String[] | fieldNames | |
System.String[] | sampleTerms | |
Lucene.Net.Util.BytesRef[] | sampleTermBytes |
Methods
| Improve this Doc View SourceToDocument()
Declaration
public virtual Document ToDocument()
Returns
Type | Description |
---|---|
Lucene.Net.Documents.Document |