public class WritableOutputFormat extends Object implements RawOutputFormat
FatResultSets to disk
for later use by FatResultsMatching| Constructor and Description |
|---|
WritableOutputFormat(Index i)
Created a new NullOuputFormat
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
void |
writeResults(OutputStream os,
SearchRequest q,
String method,
String iteration,
int numberOfResults) |
public WritableOutputFormat(Index i)
public void printResults(PrintWriter pw, SearchRequest q, String method, String iteration, int numberOfResults) throws IOException
OutputFormatprintResults in interface OutputFormatIOExceptionpublic void writeResults(OutputStream os, SearchRequest q, String method, String iteration, int numberOfResults) throws IOException
writeResults in interface RawOutputFormatIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow