Searched defs:query (Results 1 - 10 of 10) sorted by relevance
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/query/ |
H A D | Query.java | 1 package org.opensolaris.opengrok.egrok.query;
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/ui/ |
H A D | ResultsView.java | 44 public void setQuery(String query) { argument 45 setPartName("{OpenGrok search results for '" + query + "'");
|
H A D | ResultsDialog.java | 48 private String query; field in class:ResultsDialog 52 public ResultsDialog(Shell parent, String query, Point location) { argument 54 "{OpenGrok search results for '" + query + "'", ""); 56 this.query = query; 129 resultsView.setQuery(query);
|
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | QueryMatchers.java | 41 * Utility class used to extract the terms used in a query This class will not 43 * caller must pass a rewritten query (see query.rewrite) to obtain a list of 55 * Get the terms from a query and returns a list of DFAs which match a stream 58 * @param query the query to generate matchers for 64 public LineMatcher[] getMatchers(Query query, Map<String, Boolean> fields) { argument 69 getTerms(query); 83 private void getTerms(Query query) { argument 84 if (query instanceo 99 getRegexp(RegexpQuery query) argument 107 getBooleans(BooleanQuery query) argument 115 getPhrases(PhraseQuery query) argument 127 getTerm(TermQuery query) argument 139 getWildTerm(WildcardQuery query) argument 147 getPrefix(PrefixQuery query) argument [all...] |
H A D | HistoryContext.java | 66 public HistoryContext(Query query) { argument 68 m = qm.getMatchers(query, tokenFields);
|
H A D | Context.java | 77 * @param query the query to generate the result for 80 public Context(Query query, Map<String, String> queryStrings) { argument 82 m = qm.getMatchers(query, tokenFields); 85 //System.err.println("Found Matchers = "+ m.length + " for " + query); 96 * Build the {@code queryAsURI} string that holds the query in a form 99 * @param subqueries a map containing the query text for each field 111 field = "q"; // bah - search query params should be consistent!
|
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Summarizer.java | 63 private final Set<String> highlight = new HashSet<>(); // put query terms in table 65 public Summarizer(Query query, Analyzer a) { argument 67 getTerms(query); 135 // containing any query terms. 137 // @TODO: check that phrases in the query are matched in the fragment 147 // how many query terms are present. An excerpt is 178 // If we find a term that's in the query... 193 // SUM_CONTEXT beyond the last query-term. 320 * Get the terms from a query and adds them to highlight a stream of tokens 322 * @param query 324 getTerms(Query query) argument 338 getBooleans(BooleanQuery query) argument 346 getPhrases(PhraseQuery query) argument 353 getTerm(TermQuery query) argument 357 getWildTerm(WildcardQuery query) argument 361 getPrefix(PrefixQuery query) argument [all...] |
H A D | QueryBuilder.java | 37 * Helper class that builds a Lucene query based on provided search terms for 62 * A map containing the query text for each field. (We use a sorted map here 63 * only because we have tests that check the generated query string. If we 72 * @param freetext query string to set 82 * @return {@code null} if not set, the query string otherwise. 91 * @param defs query string to set 101 * @return {@code null} if not set, the query string otherwise. 110 * @param refs query string to set 120 * @return {@code null} if not set, the query string otherwise. 129 * @param path query strin 278 addQueryText(String field, String query) argument 298 escapeQueryString(String field, String query) argument 336 hasClause(BooleanQuery query, Occur occur) argument [all...] |
H A D | SearchEngine.java | 126 private Query query; field in class:SearchEngine 156 * @return a query builder 171 query = createQueryBuilder().build(); 172 ret = (query != null); 191 searcher.search(query, collector); 195 searcher.search(query, collector); 224 searcher.search(query, collector); 228 searcher.search(query, collector); 239 return query.toString(); 304 query [all...] |
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | SearchHelper.java | 116 * the QueryBuilder used to create the query 120 * the order used for ordering query results 161 * list of docs which result from the executing the query 169 * the query created by the used {@link QueryBuilder} via 172 public Query query; field in class:SearchHelper 205 * Default query parse error message prefix 207 public static final String PARSE_ERROR_MSG = "Unable to parse your query: "; 233 * <li>{@link #query}</li> <li>{@link #searcher}</li> <li>{@link #sort}</li> 237 * @param projects project to use query. If empty, a no-project setup 249 query [all...] |
Completed in 90 milliseconds