Class QualityBenchmark
Main entry point for running a quality benchmark.
There are two main configurations for running a quality benchmark:
- Against existing judgements.
- For submission (e.g. for a contest).
Inheritance
System.Object
QualityBenchmark
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class QualityBenchmark : object
Constructors
Name | Description |
---|---|
QualityBenchmark(QualityQuery[], IQualityQueryParser, IndexSearcher, String) | Create a QualityBenchmark. |
Fields
Name | Description |
---|---|
m_docNameField | index field to extract doc name for each search result; used for judging the results. |
m_qqParser | Parser for turning QualityQueries into Lucene Queries. |
m_qualityQueries | Quality Queries that this quality benchmark would execute. |
m_searcher | Index to be searched. |
Properties
Name | Description |
---|---|
MaxQueries | The maximum number of quality queries to run. Useful at debugging. |
MaxResults | The maximum number of results to collect for each quality query. |
Methods
Name | Description |
---|---|
Execute(IJudge, SubmissionReport, TextWriter) | Run the quality benchmark. |