public class SimpleDocMaker extends BasicDocMaker
BODY_FIELD, BYTES_FIELD, config, DATE_FIELD, forever, ID_FIELD, indexVal, NAME_FIELD, storeVal, termVecVal, TITLE_FIELD| Constructor and Description |
|---|
SimpleDocMaker() |
| Modifier and Type | Method and Description |
|---|---|
protected DocData |
getNextDocData()
Return the data of the next document.
|
int |
numUniqueTexts()
Return how many real unique texts are available, 0 if not applicable.
|
void |
resetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
|
addBytes, addUniqueBytes, collectFiles, getByteCount, getCount, getHtmlParser, makeDocument, makeDocument, numUniqueBytes, printDocStatistics, resetUniqueBytes, setConfig, setHTMLParserpublic void resetInputs()
DocMakerresetInputs in interface DocMakerresetInputs in class BasicDocMakerpublic int numUniqueTexts()
DocMakerprotected DocData getNextDocData() throws NoMoreDataException
BasicDocMakergetNextDocData in class BasicDocMakerNoMoreDataException - if data is exhausted (and 'forever' set to false).Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.