Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » benchmark » quality » utils » [javadoc | source]
org.apache.lucene.benchmark.quality.utils
public class: SubmissionReport [javadoc | source]
java.lang.Object
   org.apache.lucene.benchmark.quality.utils.SubmissionReport
Create a log ready for submission. Extend this class and override #report(QualityQuery, TopDocs, String, Searcher) to create different reports.
Constructor:
 public SubmissionReport(PrintWriter logger,
    String name) 
    Constructor for SubmissionReport.
    Parameters:
    logger - if null, no submission data is created.
    name - name of this run.
Method from org.apache.lucene.benchmark.quality.utils.SubmissionReport Summary:
flush,   report
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.benchmark.quality.utils.SubmissionReport Detail:
 public  void flush() 
 public  void report(QualityQuery qq,
    TopDocs td,
    String docNameField,
    Searcher searcher) throws IOException 
    Report a search result for a certain quality query.