| java.lang.Object org.apache.lucene.benchmark.stats.QueryData
QueryData | public class QueryData (Code) | | This class holds parameters for a query benchmark.
author: Andrzej Bialecki <ab@getopt.org> |
Field Summary | |
public String | id | public Query | q | public boolean | reopen If true, re-open index reader before benchmark. | public boolean | retrieve If true, actually retrieve documents returned in Hits. | public boolean | warmup If true, warm-up the index reader before searching by sequentially
retrieving all documents from index. |
Method Summary | |
public static QueryData[] | getAll(Query[] queries) Prepare a list of benchmark data, using all possible combinations of
benchmark parameters. | public static String | getLabels() Short legend for interpreting toString() output. | public String | toString() |
reopen | public boolean reopen(Code) | | If true, re-open index reader before benchmark.
|
retrieve | public boolean retrieve(Code) | | If true, actually retrieve documents returned in Hits.
|
warmup | public boolean warmup(Code) | | If true, warm-up the index reader before searching by sequentially
retrieving all documents from index.
|
getAll | public static QueryData[] getAll(Query[] queries)(Code) | | Prepare a list of benchmark data, using all possible combinations of
benchmark parameters.
Parameters: queries - source Lucene queries The QueryData |
getLabels | public static String getLabels()(Code) | | Short legend for interpreting toString() output.
|
|
|