public class QueryData extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
QueryData() |
public String id
public Query q
public boolean reopen
public boolean warmup
public boolean retrieve
public static QueryData[] getAll(Query[] queries)
queries
- source Lucene queriespublic static String getLabels()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.