public final class Results
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
prettyPrint(java.io.Writer out,
SearchHelper sh,
int start,
int end)
Prints out results in html form.
|
public static void prettyPrint(java.io.Writer out, SearchHelper sh, int start, int end) throws HistoryException, java.io.IOException, java.lang.ClassNotFoundException
SearchHelper.dataRoot
SearchHelper.contextPath
SearchHelper.searcher
SearchHelper.hits
SearchHelper.historyContext
(ignored if null
)SearchHelper.sourceContext
(ignored if null
)SearchHelper.summerizer
(if sourceContext is not null
)SearchHelper.compressed
(if sourceContext is not null
)SearchHelper.sourceRoot
(if sourceContext or historyContext
is not null
)out
- write destinationsh
- search helper which has all required fields setstart
- index of the first hit to printend
- index of the last hit to printHistoryException
java.io.IOException
java.lang.ClassNotFoundException