Constructor QualityBenchmark
QualityBenchmark(QualityQuery[], IQualityQueryParser, IndexSearcher, String)
Create a QualityBenchmark.
Declaration
public QualityBenchmark(QualityQuery[] qqs, IQualityQueryParser qqParser, IndexSearcher searcher, string docNameField)
Parameters
Type | Name | Description |
---|---|---|
QualityQuery[] | qqs | Quality queries to run. |
IQualityQueryParser | qqParser | Parser for turning QualityQueries into Lucene Queries. |
IndexSearcher | searcher | Index to be searched. |
System.String | docNameField | Name of field containing the document name. This allows to extract the doc name for search results, and is important for judging the results. |