Class SubmissionReport
Create a log ready for submission. Extend this class and override Report(QualityQuery, TopDocs, string, IndexSearcher) to create different reports.
Inherited Members
Namespace: Lucene.Net.Benchmarks.Quality.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SubmissionReport
Constructors
SubmissionReport(TextWriter, string)
Constructor for SubmissionReport.
Declaration
public SubmissionReport(TextWriter logger, string name)
Parameters
Type | Name | Description |
---|---|---|
TextWriter | logger | If |
string | name | Name of this run. |
Methods
Flush()
Create a log ready for submission. Extend this class and override Report(QualityQuery, TopDocs, string, IndexSearcher) to create different reports.
Declaration
public virtual void Flush()
Report(QualityQuery, TopDocs, string, IndexSearcher)
Report a search result for a certain quality query.
Declaration
public virtual void Report(QualityQuery qq, TopDocs td, string docNameField, IndexSearcher searcher)
Parameters
Type | Name | Description |
---|---|---|
QualityQuery | quality query for which the results are reported. |
|
TopDocs | td | search results for the query. |
string | docNameField | stored field used for fetching the result doc name. |
IndexSearcher | searcher | index access for fetching doc name. |