org.apache.lucene.benchmark.stats
public class QueryData extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
id
Benchmark id
|
org.apache.lucene.search.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() |
Modifier and Type | Method and Description |
---|---|
static QueryData[] |
getAll(org.apache.lucene.search.Query[] queries)
Prepare a list of benchmark data, using all possible combinations of
benchmark parameters.
|
static java.lang.String |
getLabels()
Short legend for interpreting toString() output.
|
java.lang.String |
toString() |
public java.lang.String id
public org.apache.lucene.search.Query q
public boolean reopen
public boolean warmup
public boolean retrieve
public static QueryData[] getAll(org.apache.lucene.search.Query[] queries)
queries
- source Lucene queriespublic static java.lang.String getLabels()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.