|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.stats.QueryData
public class QueryData
This class holds parameters for a query benchmark.
| Field Summary | |
|---|---|
String |
id
Benchmark id |
Query |
q
Lucene query |
boolean |
reopen
If true, re-open index reader before benchmark. |
boolean |
retrieve
If true, actually retrieve documents returned in Hits. |
boolean |
warmup
If true, warm-up the index reader before searching by sequentially retrieving all documents from index. |
| Constructor Summary | |
|---|---|
QueryData()
|
|
| Method Summary | |
|---|---|
static QueryData[] |
getAll(Query[] queries)
Prepare a list of benchmark data, using all possible combinations of benchmark parameters. |
static String |
getLabels()
Short legend for interpreting toString() output. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String id
public Query q
public boolean reopen
public boolean warmup
public boolean retrieve
| Constructor Detail |
|---|
public QueryData()
| Method Detail |
|---|
public static QueryData[] getAll(Query[] queries)
queries - source Lucene queries
public static String getLabels()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||