Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » benchmark » quality » utils » [javadoc | source]
public class: SubmissionReport [javadoc | source]
Create a log ready for submission. Extend this class and override #report(QualityQuery, TopDocs, String, Searcher) to create different reports.
 public SubmissionReport(PrintWriter logger,
    String name) 
    Constructor for SubmissionReport.
    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.