org.apache.lucene.benchmark.byTask.feeds
Interface QueryMaker
- ReutersQueryMaker, SimpleQueryMaker, SimpleSloppyPhraseQueryMaker
public interface QueryMaker
Create queries for the test.
makeQuery
public Query makeQuery()
throws Exception
Create the next query
makeQuery
public Query makeQuery(int size)
throws Exception
Create the next query, of the given size.
size
- the size of the query - number of terms, etc.
printQueries
public String printQueries()
Print the queries
resetInputs
public void resetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
setConfig
public void setConfig(Config config)
throws Exception
Set the properties
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.