Searched defs:query (Results 1 - 7 of 7) sorted by relevance
/opengrok-jel/src/org/opensolaris/opengrok/search/context/ |
H A D | Context.java | 79 * @param query the query to generate the result for 82 public Context(Query query, Map<String, String> queryStrings) { argument 84 m = qm.getMatchers(query, tokenFields); 87 //System.err.println("Found Matchers = "+ m.length + " for " + query); 94 * Check, whether one ore more line matchers (query terms) are present. 103 * Build the {@code queryAsURI} string that holds the query in a form 106 * @param subqueries a map containing the query text for each field 118 field = "q"; // bah - search query params should be consistent!
|
H A D | QueryMatchers.java | 41 * Utility class used to extract the terms used in a query 43 * so the caller must pass a rewritten query (see query.rewrite) to obtain a list of 53 * Get the terms from a query and returs a list of DFAs which match 56 * @param query the query to generate matchers for 62 public LineMatcher[] getMatchers(Query query, Map<String, Boolean> fields) { argument 67 getTerms(query); 81 private void getTerms(Query query) { argument 82 if (query instanceo 95 getBooleans(BooleanQuery query) argument 104 getPhrases(PhraseQuery query) argument 116 getTerm(TermQuery query) argument 128 getWildTerm(WildcardQuery query) argument 136 getPrefix(PrefixQuery query) argument [all...] |
H A D | HistoryContext.java | 64 * Create a new context wrt. to the given query. 65 * @param query query to use. 67 public HistoryContext(Query query) { argument 69 m = qm.getMatchers(query, tokenFields); 76 * Check, whether one ore more line matchers (query terms) are present.
|
/opengrok-jel/src/org/opensolaris/opengrok/search/ |
H A D | QueryBuilder.java | 39 * Helper class that builds a Lucene query based on provided search terms for 49 * A map containing the query text for each field. (We use a sorted map here 50 * only because we have tests that check the generated query string. If we 58 * @param freetext query string to set 66 * @return {@code null} if not set, the query string otherwise. 74 * @param defs query string to set 82 * @return {@code null} if not set, the query string otherwise. 90 * @param refs query string to set 98 * @return {@code null} if not set, the query string otherwise. 105 * @param path query strin 215 addQueryText(String field, String query) argument 235 escapeQueryString(String field, String query) argument 266 hasClause(BooleanQuery query, Occur occur) argument [all...] |
H A D | Summarizer.java | 59 private final Set<String> highlight = new HashSet<String>(); // put query terms in table 61 public Summarizer(Query query, Analyzer a) { argument 63 getTerms(query); 124 // containing any query terms. 126 // @TODO: check that phrases in the query are matched in the fragment 137 // how many query terms are present. An excerpt is 168 // If we find a term that's in the query... 183 // SUM_CONTEXT beyond the last query-term. 300 * Get the terms from a query and adds them to hightlite 303 * @param query 306 getTerms(Query query) argument 320 getBooleans(BooleanQuery query) argument 329 getPhrases(PhraseQuery query) argument 336 getTerm(TermQuery query) argument 340 getWildTerm(WildcardQuery query) argument 343 getPrefix(PrefixQuery query) argument [all...] |
H A D | SearchEngine.java | 112 private Query query; field in class:SearchEngine 144 * @return a query builder 156 * Check, whether a query can be build with current information available. 157 * @return {@code true} if a query could be build. 162 query = createQueryBuilder().build(); 163 ret = (query != null); 184 searcher.search(query, collector); 188 searcher.search(query, collector); 227 searcher.search(query, collector); 231 searcher.search(query, collecto [all...] |
/opengrok-jel/src/org/opensolaris/opengrok/web/ |
H A D | SearchHelper.java | 83 /** the QueryBuilder used to create the query */ 85 /** the order to use to ordery query results */ 104 /** list of docs which result from the executing the query */ 108 /** the query created by the used {@link QueryBuilder} via 110 public Query query; field in class:SearchHelper 123 /** Default query parse error message prefix */ 124 public static final String PARSE_ERROR_MSG = "Unable to parse your query: "; 142 * <li>{@link #query}</li> 149 * @param projects project to use query. If empty, a none-project opengrok 161 query [all...] |
Completed in 827 milliseconds