Class QualityQuery
A QualityQuery has an ID and some name-value pairs.
The ID allows to map the quality query with its judgements.
The name-value pairs are used by a IQualityQueryParser to create a Lucene 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.
Inheritance
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class QualityQuery : IComparable<QualityQuery>
Constructors
Name | Description |
---|---|
QualityQuery(String, IDictionary<String, String>) | Create a QualityQuery with given ID and name-value pairs. |
Properties
Name | Description |
---|---|
QueryID | Gets the ID of this query. The ID allows to map the quality query with its judgements. |
Methods
Name | Description |
---|---|
CompareTo(QualityQuery) | For a nicer sort of input queries before running them. Try first as ints, fall back to string if not int. |
GetNames() | Return all the names of name-value-pairs in this QualityQuery. |
GetValue(String) | Return the value of a certain name-value pair. |