|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.benchmark.byTask.feeds.BasicDocMaker
org.apache.lucene.benchmark.byTask.feeds.SimpleDocMaker
public class SimpleDocMaker
Create documents for the test.
Field Summary |
---|
Fields inherited from class org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker |
---|
BODY_FIELD, BYTES_FIELD, config, DATE_FIELD, forever, ID_FIELD, indexVal, NAME_FIELD, storeVal, termVecVal, TITLE_FIELD |
Constructor Summary | |
---|---|
SimpleDocMaker()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker |
---|
addBytes, addUniqueBytes, collectFiles, getByteCount, getCount, getHtmlParser, makeDocument, makeDocument, numUniqueBytes, printDocStatistics, resetUniqueBytes, setConfig, setHTMLParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDocMaker()
Method Detail |
---|
public void resetInputs()
DocMaker
resetInputs
in interface DocMaker
resetInputs
in class BasicDocMaker
public int numUniqueTexts()
DocMaker
protected DocData getNextDocData() throws NoMoreDataException
BasicDocMaker
getNextDocData
in class BasicDocMaker
NoMoreDataException
- if data is exhausted (and 'forever' set to false).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |