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

/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/
H A DHitContainer.java10 private List<Hit> hits = new ArrayList<Hit>(); field in class:HitContainer
18 hits.add(hit);
27 return hits.size();
31 return hits.toArray(new Hit[hits.size()]);
/opengrok/src/org/opensolaris/opengrok/search/
H A DResults.java77 * @param hits hits produced by the given searcher's search
84 private static Map<String, ArrayList<Document>> createMap(IndexSearcher searcher, ScoreDoc[] hits, int startIdx, int stopIdx) argument
89 int docId = hits[i].doc;
133 * <li>{@link SearchHelper#searcher}</li> <li>{@link SearchHelper#hits}</li>
160 createMap(sh.searcher, sh.hits, start, end).entrySet()) {
H A DSearchEngine.java139 private ScoreDoc[] hits; field in class:SearchEngine
197 hits = collector.topDocs().scoreDocs;
198 for (ScoreDoc hit : hits) {
230 hits = collector.topDocs().scoreDocs;
231 for (ScoreDoc hit : hits) {
255 * @return The number of hits
276 * @return The number of hits
294 * @return The number of hits
348 int count = hits == null ? 0 : hits
[all...]
/opengrok/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java77 public boolean getContext(String filename, String path, List<Hit> hits) argument
85 path, null, hits,null);
120 * Writes matching History log entries from 'in' to 'out' or to 'hits'
124 * @param hits list of hits
128 History in, String path, Writer out, List<Hit> hits, String wcontext) {
129 if ((out == null) == (hits == null)) {
133 "Exactly one of out and hits should be non-null");
171 hits.add(new Hit(path, sb.toString(), "", false, false));
127 getHistoryContext( History in, String path, Writer out, List<Hit> hits, String wcontext) argument
H A DContext.java124 boolean limit, boolean isDefSearch, List<Hit> hits) {
125 return getContext(in, out, urlPrefix, morePrefix, path, tags, limit, isDefSearch, hits, null);
141 boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) {
185 hits.add(hit);
220 if (hits != null) {
270 if (hits != null) {
272 tokens.setHitList(hits);
122 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits) argument
139 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) argument
/opengrok/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java163 public ScoreDoc[] hits; field in class:SearchHelper
165 * total number of hits
307 * <ul> <li>{@link #hits} (see {@link TopFieldDocs#scoreDocs})</li>
322 hits = fdocs.scoreDocs;
333 if (isSingleDefinitionSearch && hits != null && hits.length == 1) {
334 Document doc = searcher.doc(hits[0].doc);
346 if (uniqueDefinition && hits != null && hits.length > 0 && isCrossRefSearch) {
348 + Util.URIEncodePath(searcher.doc(hits[
[all...]
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 26 milliseconds