Package org.apache.lucene.tests.index
Class BaseTermVectorsFormatTestCase.RandomDocumentFactory
java.lang.Object
org.apache.lucene.tests.index.BaseTermVectorsFormatTestCase.RandomDocumentFactory
- Enclosing class:
BaseTermVectorsFormatTestCase
Factory for generating random documents, call newDocument to generate each one
-
Constructor Summary
ModifierConstructorDescriptionprotected
RandomDocumentFactory
(int distinctFieldNames, int disctinctTerms) -
Method Summary
Modifier and TypeMethodDescriptionnewDocument
(int fieldCount, int maxTermCount, BaseTermVectorsFormatTestCase.Options options)
-
Constructor Details
-
RandomDocumentFactory
protected RandomDocumentFactory(int distinctFieldNames, int disctinctTerms)
-
-
Method Details
-
newDocument
public BaseTermVectorsFormatTestCase.RandomDocument newDocument(int fieldCount, int maxTermCount, BaseTermVectorsFormatTestCase.Options options)
-