Searched defs:hits (Results 1 - 5 of 5) sorted by relevance

/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DResults.java65 * @param hits hits produced by the given searcher's search
73 createMap(IndexSearcher searcher, ScoreDoc[] hits, int startIdx, int stopIdx) argument
79 int docId = hits[i].doc;
125 * <li>{@link SearchHelper#hits}</li>
154 createMap(sh.searcher, sh.hits, start, end).entrySet())
H A DSearchEngine.java128 private ScoreDoc[] hits; field in class:SearchEngine
190 hits = collector.topDocs().scoreDocs;
191 for (int i = 0; i < hits.length; i++) {
192 int docId = hits[i].doc;
233 hits = collector.topDocs().scoreDocs;
234 for (int i = 0; i < hits.length; i++) {
235 int docId = hits[i].doc;
255 * @return The number of hits
313 int count = hits == null ? 0 : hits
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DContext.java142 * @param hits where to add obtained hits
148 List<Hit> hits)
178 hits.add(hit);
204 if (hits != null) {
258 if (hits != null) {
260 tokens.setHitList(hits);
146 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, List<Hit> hits) argument
H A DHistoryContext.java86 * matches to <var>hits</var>.
90 * @param hits where to append matches.
94 public boolean getContext(String filename, String path, List<Hit> hits) argument
102 null, hits, null);
149 * or append them to 'hits'.
153 * @param hits list of hits
158 List<Hit> hits, String wcontext)
160 if ((out == null) == (hits == null)) {
164 "Exactly one of out and hits shoul
157 getHistoryContext(History in, String path, Writer out, List<Hit> hits, String wcontext) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java105 public ScoreDoc[] hits; field in class:SearchHelper
106 /** total number of hits */
238 * <li>{@link #hits} (see {@link TopFieldDocs#scoreDocs})</li>
253 hits = fdocs.scoreDocs;
264 if (isSingleDefinitionSearch && hits != null && hits.length == 1) {
265 Document doc = searcher.doc(hits[0].doc);
277 if (uniqueDefinition && hits != null && hits.length > 0 && isCrossRefSearch) {
279 + Util.uriEncodePath(searcher.doc(hits[
[all...]

Completed in 10 milliseconds