org.apache.lucene.benchmark.stats
Class QueryData
This class holds parameters for a query benchmark.
- Andrzej Bialecki <ab@getopt.org>
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.
|
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()
|
id
public String id
Benchmark id
q
public Query q
Lucene query
reopen
public boolean reopen
If true, re-open index reader before benchmark.
retrieve
public boolean retrieve
If true, actually retrieve documents returned in Hits.
warmup
public boolean warmup
If true, warm-up the index reader before searching by sequentially
retrieving all documents from index.
getAll
public static QueryData[] getAll(Query[] queries)
Prepare a list of benchmark data, using all possible combinations of
benchmark parameters.
queries
- source Lucene queries
getLabels
public static String getLabels()
Short legend for interpreting toString() output.
toString
public String toString()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.