Class SubmissionReport
Create a log ready for submission. Extend this class and override Report(QualityQuery, TopDocs, String, IndexSearcher) to create different reports.
Inheritance
System.Object
SubmissionReport
Namespace: Lucene.Net.Benchmarks.Quality.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SubmissionReport : object
Constructors
| Improve this Doc View SourceSubmissionReport(TextWriter, String)
Constructor for SubmissionReport.
Declaration
public SubmissionReport(TextWriter logger, string name)
Parameters
Type | Name | Description |
---|---|---|
TextWriter | logger | If |
System.String | name | Name of this run. |
Methods
| Improve this Doc View SourceFlush()
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. |
System.String | docNameField | stored field used for fetching the result doc name. |
IndexSearcher | searcher | index access for fetching doc name. |