public class SubmissionReport
extends java.lang.Object
report(QualityQuery, TopDocs, String, IndexSearcher)
to create different reports.| Constructor and Description |
|---|
SubmissionReport(java.io.PrintWriter logger,
java.lang.String name)
Constructor for SubmissionReport.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
report(QualityQuery qq,
TopDocs td,
java.lang.String docNameField,
IndexSearcher searcher)
Report a search result for a certain quality query.
|
public SubmissionReport(java.io.PrintWriter logger,
java.lang.String name)
logger - if null, no submission data is created.name - name of this run.public void report(QualityQuery qq, TopDocs td, java.lang.String docNameField, IndexSearcher searcher) throws java.io.IOException
qq - quality query for which the results are reported.td - search results for the query.docNameField - stored field used for fetching the result doc name.searcher - index access for fetching doc name.java.io.IOException - in case of a problem.public void flush()
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.