org.apache.lucene.benchmark.byTask.feeds

Class SimpleDocMaker

Implemented Interfaces:
DocMaker

public class SimpleDocMaker
extends BasicDocMaker

Create documents for the test

Field Summary

Fields inherited from class org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker

config, indexVal, storeVal, termVecVal

Method Summary

protected org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker.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, getNextDocData, makeDocument, makeDocument, numUniqueBytes, printDocStatistics, resetInputs, setConfig

Method Details

getNextDocData

protected org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker.DocData getNextDocData()
Return the data of the next document.
Overrides:
getNextDocData in interface BasicDocMaker
Returns:
data of the next document.

numUniqueTexts

public int numUniqueTexts()
Return how many real unique texts are available, 0 if not applicable.
Specified by:
numUniqueTexts in interface DocMaker

resetInputs

public void resetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
Specified by:
resetInputs in interface DocMaker
Overrides:
resetInputs in interface BasicDocMaker

Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.