org.apache.lucene.benchmark.stats
public class QueryData extends Object
| 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. |
| 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() |
Parameters: queries source Lucene queries
Returns: The QueryData