org.terrier.applications
Interface TRECQuerying.OutputFormat

All Known Implementing Classes:
TRECQuerying.NullOutputFormat, TRECQuerying.TRECDocidOutputFormat, TRECQuerying.TRECDocnoOutputFormat
Enclosing class:
TRECQuerying

public static interface TRECQuerying.OutputFormat

interface for adjusting the output of TRECQuerying


Method Summary
 void printResults(java.io.PrintWriter pw, SearchRequest q, java.lang.String method, java.lang.String iteration, int numberOfResults)
          Outputs the results of query q to PrintWriter pw, described by the method, iteration, and the specified limit on the number of results (0 means no limit).
 

Method Detail

printResults

void printResults(java.io.PrintWriter pw,
                  SearchRequest q,
                  java.lang.String method,
                  java.lang.String iteration,
                  int numberOfResults)
                  throws java.io.IOException
Outputs the results of query q to PrintWriter pw, described by the method, iteration, and the specified limit on the number of results (0 means no limit).

Throws:
java.io.IOException


Terrier 3.5. Copyright © 2004-2011 University of Glasgow