protected class BaseTermVectorsFormatTestCase.RandomDocument
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RandomDocument(int fieldCount,
int maxTermCount,
BaseTermVectorsFormatTestCase.Options options,
java.lang.String[] fieldNames,
java.lang.String[] sampleTerms,
BytesRef[] sampleTermBytes) |
Modifier and Type | Method and Description |
---|---|
Document |
toDocument() |
protected RandomDocument(int fieldCount, int maxTermCount, BaseTermVectorsFormatTestCase.Options options, java.lang.String[] fieldNames, java.lang.String[] sampleTerms, BytesRef[] sampleTermBytes)
public Document toDocument()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.