|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.benchmark.byTask.feeds.LongToEnglishQueryMaker
public class LongToEnglishQueryMaker
Field Summary | |
---|---|
protected org.apache.lucene.queryParser.QueryParser |
parser
|
Constructor Summary | |
---|---|
LongToEnglishQueryMaker()
|
Method Summary | |
---|---|
org.apache.lucene.search.Query |
makeQuery()
Create the next query |
org.apache.lucene.search.Query |
makeQuery(int size)
Create the next query, of the given size. |
String |
printQueries()
Print the queries |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.apache.lucene.queryParser.QueryParser parser
Constructor Detail |
---|
public LongToEnglishQueryMaker()
Method Detail |
---|
public org.apache.lucene.search.Query makeQuery(int size) throws Exception
QueryMaker
makeQuery
in interface QueryMaker
size
- the size of the query - number of terms, etc.
Exception
- if cannot make the query, or if size>0 was specified but this feature is not supported.public org.apache.lucene.search.Query makeQuery() throws Exception
QueryMaker
makeQuery
in interface QueryMaker
Exception
public void setConfig(Config config) throws Exception
QueryMaker
setConfig
in interface QueryMaker
Exception
public void resetInputs()
QueryMaker
resetInputs
in interface QueryMaker
public String printQueries()
QueryMaker
printQueries
in interface QueryMaker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |