Results.java revision 1111
0N/A * See LICENSE.txt included in this distribution for the specific
0N/A * file and include the License file at LICENSE.txt.
819N/A public static void prettyPrintHTML(Searcher searcher,ScoreDoc[] hits, int start, int end, Writer out,
0N/A LinkedHashMap<String, ArrayList<Document>> dirHash = new LinkedHashMap<String, ArrayList<Document>>();
1111N/A out.write("<td class=\"q\"><a id=\"history\" href=\""+context+Constants.histL+rpath+"\">H</a> <a href=\""+context+Constants.xrefP+rpath+"?a=true\">A</a> <a id=\"download\" href=\""+context+Constants.rawP+rpath+"\">D</a>");
1111N/A sourceContext.getContext(new FileReader(srcRoot + rpath), out, xrefPrefix, morePrefix, rpath,
1111N/A r = new TagFilter(new BufferedReader(new InputStreamReader(new GZIPInputStream(new FileInputStream(dataRoot + Constants.xrefP + rpath+".gz"))))); }
1111N/A r = new TagFilter(new BufferedReader(new FileReader(dataRoot + Constants.xrefP + rpath))); }
938N/A //FIXME use Highlighter from lucene contrib here, instead of summarizer, we'd also get rid of apache lucene in whole source ...
0N/A } catch (IOException e) {