org.apache.lucene.benchmark.byTask.feeds
Class TrecDocMaker
- DocMaker
public class TrecDocMaker
A DocMaker using the (compressed) Trec collection for its input.
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.
|
void | setConfig(Config config) - Set the properties
|
addBytes , addUniqueBytes , collectFiles , getByteCount , getCount , getNextDocData , makeDocument , makeDocument , numUniqueBytes , printDocStatistics , resetInputs , setConfig |
getNextDocData
protected org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker.DocData getNextDocData()
throws Exception
Return the data of the next document.
- getNextDocData in interface BasicDocMaker
- data of the next document.
numUniqueTexts
public int numUniqueTexts()
Return how many real unique texts are available, 0 if not applicable.
- numUniqueTexts in interface DocMaker
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.