AbstractQueryMaker
, EnwikiQueryMaker
, FileBasedQueryMaker
, LongToEnglishQueryMaker
, ReutersQueryMaker
, SimpleQueryMaker
, SimpleSloppyPhraseQueryMaker
public interface QueryMaker
Modifier and Type | Method | Description |
---|---|---|
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
|
org.apache.lucene.search.Query makeQuery(int size) throws Exception
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.org.apache.lucene.search.Query makeQuery() throws Exception
Exception
void resetInputs()
String printQueries()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.