All Implemented Interfaces:
The ID allows to map the quality query with its judgements.
The name-value pairs are used by a org.apache.lucene.benchmark.quality.QualityQueryParser to create a Lucene org.apache.lucene.search.Query .
It is very likely that name-value-pairs would be mapped into fields in a Lucene query, but it is up to the QualityQueryParser how to map - e.g. all values in a single field, or each pair as its own field, etc., - and this of course must match the way the searched index was constructed.
public QualityQuery(String queryID, Map<String, String> nameValPairs)
|Method from org.apache.lucene.benchmark.quality.QualityQuery Summary:|
|compareTo, getNames, getQueryID, getValue|
|Methods from java.lang.Object:|
|clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait|
|Method from org.apache.lucene.benchmark.quality.QualityQuery Detail:|
public int compareTo(QualityQuery other)
public String getNames()
public String getQueryID()