public class TRECDocidOutputFormat extends Object implements OutputFormat
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentType
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 Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow