Searched defs:results (Results 1 - 2 of 2) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearch.java48 final List<Hit> results = new ArrayList<Hit>(); field in class:Search
110 results.clear();
113 engine.results(0, nhits, results);
121 if (results.isEmpty()) {
125 System.out.println("Printing results 1 - " + nhits +" of " + totalResults + " total matching documents collected.");
126 for (Hit hit : results) {
132 System.out.println("Printed results 1 - " + nhits +" of " + totalResults + " total matching documents collected.");
144 engine.results(nhits, totalResults, results);
[all...]
H A DSearchEngine.java107 // internal structure to hold the results from lucene
286 * get results , if no search was started before, no results are returned
288 * hence performance hit applies, if you want results in later pages than
293 * @param ret list of results from start to end or null/empty if no search
296 public void results(int start, int end, List<Hit> ret) { method in class:SearchEngine
331 //TODO generation of ret(results) could be cashed and consumers of engine would just print them in whatever form they need, this way we could get rid of docs
332 // the only problem is that count of docs is usually smaller than number of results

Completed in 250 milliseconds