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.
|
public TRECDocidOutputFormat(Index index)
public void printResults(PrintWriter pw, SearchRequest q, String method, String iteration, int _RESULTS_LENGTH) throws IOException
printResults in interface OutputFormatpw - PrintWriter the destination where to save the results.q - SearchRequest the object encapsulating the query and the
results.IOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow