public class TRECDocidOutputFormat extends Object implements OutputFormat
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
logger
The logger used
|
Constructor and Description |
---|
TRECDocidOutputFormat(Index index)
Creates a new TRECDocidOutputFormat.
|
Modifier and Type | Method and Description |
---|---|
void |
printResults(PrintWriter pw,
SearchRequest q,
String method,
String iteration,
int _RESULTS_LENGTH)
Prints the results for the given search request, using the specified
destination.
|
public TRECDocidOutputFormat(Index index)
public void printResults(PrintWriter pw, SearchRequest q, String method, String iteration, int _RESULTS_LENGTH) throws IOException
printResults
in interface OutputFormat
pw
- PrintWriter the destination where to save the results.q
- SearchRequest the object encapsulating the query and the
results.IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow