| java.lang.Object org.apache.lucene.benchmark.quality.utils.SubmissionReport
Constructor Summary | |
public | SubmissionReport(PrintWriter logger, String name) Constructor for SubmissionReport.
Parameters: logger - if null, no submission data is created. |
Method Summary | |
public void | flush() | public void | report(QualityQuery qq, TopDocs td, String docNameField, Searcher searcher) Report a search result for a certain quality query.
Parameters: qq - quality query for which the results are reported. Parameters: td - search results for the query. Parameters: docNameField - stored field used for fetching the result doc name. |
SubmissionReport | public SubmissionReport(PrintWriter logger, String name)(Code) | | Constructor for SubmissionReport.
Parameters: logger - if null, no submission data is created. Parameters: name - name of this run. |
flush | public void flush()(Code) | | |
report | public void report(QualityQuery qq, TopDocs td, String docNameField, Searcher searcher) throws IOException(Code) | | Report a search result for a certain quality query.
Parameters: qq - quality query for which the results are reported. Parameters: td - search results for the query. Parameters: docNameField - stored field used for fetching the result doc name. Parameters: searcher - index access for fetching doc name. throws: IOException - in case of a problem. |
|
|