public class LETOROutputFormat extends Object implements OutputFormat
Modifier and Type | Field and Description |
---|---|
protected boolean |
display_docids |
protected boolean |
display_docnos |
protected boolean |
display_scores |
protected boolean |
feature_docids |
protected int |
fOffset |
protected HashSet<String> |
seenQueries |
protected boolean |
test |
Constructor and Description |
---|
LETOROutputFormat(Index index) |
Modifier and Type | Method and Description |
---|---|
protected void |
printHeader(PrintWriter pw,
FeaturedResultSet rs) |
void |
printResults(PrintWriter pw,
SearchRequest q,
String method,
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).
|
protected boolean test
protected boolean display_scores
protected boolean feature_docids
protected boolean display_docids
protected boolean display_docnos
protected int fOffset
public LETOROutputFormat(Index index)
public void printResults(PrintWriter pw, SearchRequest q, String method, String iteration, int numberOfResults) throws IOException
OutputFormat
printResults
in interface OutputFormat
IOException
protected void printHeader(PrintWriter pw, FeaturedResultSet rs)
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow