Searched defs:term (Results 1 - 4 of 4) sorted by relevance
/opengrok-sun/src/org/opensolaris/opengrok/analysis/ |
H A D | Hash2Tokenizer.java | 34 String term; field in class:Hash2Tokenizer 59 term = keys.next(); 60 terms = term.split("[^a-zA-Z_0-9]+");
|
/opengrok-sun/src/org/opensolaris/opengrok/search/ |
H A D | CustomQueryParser.java | 66 * Get a canonical form of a search term. This will convert the term to 70 * @param term the term to search for 71 * @return the canonical form of the search term, which matches how it is 77 private static String getCanonicalTerm(String field, String term) { argument 78 return isCaseSensitive(field) ? term : term.toLowerCase(); 85 protected Query getFuzzyQuery(String field, String term, float min) argument 87 return super.getFuzzyQuery(field, getCanonicalTerm(field, term), mi 91 getPrefixQuery(String field, String term) argument 109 getWildcardQuery(String field, String term) argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/search/context/ |
H A D | QueryMatchers.java | 117 Term term = query.getTerm(); 118 if (useTerm(term)) { 119 String text = term.text(); 120 if (isCaseInsensitive(term)) { 129 Term term = query.getTerm(); 130 if (useTerm(term)) { 132 new WildCardMatcher(term.text(), isCaseInsensitive(term))); 137 Term term = query.getPrefix(); 138 if (useTerm(term)) { 147 useTerm(Term term) argument 155 isCaseInsensitive(Term term) argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/web/ |
H A D | SearchHelper.java | 279 // Bug #3900: Check if this is a search for a single term, and that 280 // term is a definition. If that's the case, and we only have one match, 286 // one single definition term AND we have exactly one match AND there 316 private static void getSuggestion(String term, SpellChecker checker, argument 318 if (term == null) { 321 String[] toks = TABSPACE.split(term, 0);
|
Completed in 18 milliseconds