Searched defs:search (Results 1 - 24 of 24) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/search/
H A DSummarizerTest.java25 package org.opensolaris.opengrok.search;
27 import org.apache.lucene.search.Query;
H A DHitTest.java24 package org.opensolaris.opengrok.search;
H A DSearchEngineTest.java24 package org.opensolaris.opengrok.search;
166 int noHits = instance.search();
175 noHits = instance.search();
185 noHits = instance.search();
191 noHits = instance.search();
205 noHits = instance.search();
216 // wildcards and case sensitivity of definition search
220 instance.search();
223 assertEquals(2, instance.search());
225 instance.search();
[all...]
H A DSearchTest.java23 package org.opensolaris.opengrok.search;
130 * Test of search method, of class Search.
138 assertFalse(instance.search());
140 assertTrue(instance.search());
144 assertTrue(instance.search());
148 assertTrue(instance.search());
152 assertTrue(instance.search());
156 assertTrue(instance.search());
160 assertTrue(instance.search());
161 assertEquals("search fo
[all...]
/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DWildCardMatcherTest.java24 package org.opensolaris.opengrok.search.context;
H A DHistoryContextTest.java24 package org.opensolaris.opengrok.search.context;
30 import org.apache.lucene.search.BooleanClause.Occur;
31 import org.apache.lucene.search.BooleanQuery;
32 import org.apache.lucene.search.PhraseQuery;
33 import org.apache.lucene.search.TermQuery;
38 import org.opensolaris.opengrok.search.Hit;
H A DContextTest.java23 package org.opensolaris.opengrok.search.context;
41 import org.opensolaris.opengrok.search.Hit;
42 import org.opensolaris.opengrok.search.QueryBuilder;
75 // Definition search should be used
80 // Symbol search should be used
85 // Full search should be used
90 // History search should not be used
95 // Path search should not be used
100 // Combined search should be fine
173 // Search with no input (will search definition
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearch.java23 package org.opensolaris.opengrok.search;
97 protected boolean search() { method in class:Search
111 nhits = engine.search();
122 System.err.println("Your search \"" + engine.getQuery() + "\" did not match any files.");
161 if (searcher.parseCmdLine(argv) && searcher.search()) {
H A DCustomQueryParser.java24 package org.opensolaris.opengrok.search;
28 import org.apache.lucene.search.Query;
60 // Only definition search and reference search are case sensitive
66 * Get a canonical form of a search term. This will convert the term to
69 * @param field the field to search on
70 * @param term the term to search for
71 * @return the canonical form of the search term, which matches how it is
81 // Override the get***Query() methods to lower case the search terms if
H A DResults.java25 package org.opensolaris.opengrok.search;
43 import org.apache.lucene.search.IndexSearcher;
44 import org.apache.lucene.search.ScoreDoc;
68 * @param hits hits produced by the given searcher's search
127 * Prints out results in html form. The following search helper fields are
140 * @param sh search helper which has all required fields set
H A DSummary.java16 package org.opensolaris.opengrok.search;
H A DSearchEngine.java23 package org.opensolaris.opengrok.search;
37 import org.apache.lucene.search.IndexSearcher;
38 import org.apache.lucene.search.Query;
39 import org.apache.lucene.search.ScoreDoc;
40 import org.apache.lucene.search.TopScoreDocCollector;
51 import org.opensolaris.opengrok.search.Summary.Fragment;
52 import org.opensolaris.opengrok.search.context.Context;
53 import org.opensolaris.opengrok.search.context.HistoryContext;
159 * @param root which db to search
166 searcher.search(quer
230 public int search() { method in class:SearchEngine
[all...]
H A DHit.java24 package org.opensolaris.opengrok.search;
29 * The hit class represents a single search hit
H A DSummarizer.java21 package org.opensolaris.opengrok.search;
38 import org.apache.lucene.search.BooleanClause;
39 import org.apache.lucene.search.BooleanQuery;
40 import org.apache.lucene.search.PhraseQuery;
41 import org.apache.lucene.search.PrefixQuery;
42 import org.apache.lucene.search.Query;
43 import org.apache.lucene.search.TermQuery;
44 import org.apache.lucene.search.WildcardQuery;
214 // We found the series of search-term hits and added
238 // search fo
[all...]
H A DQueryBuilder.java26 package org.opensolaris.opengrok.search;
33 import org.apache.lucene.search.BooleanClause;
34 import org.apache.lucene.search.BooleanClause.Occur;
35 import org.apache.lucene.search.BooleanQuery;
36 import org.apache.lucene.search.Query;
39 * Helper class that builds a Lucene query based on provided search terms for
70 * Set search string for the "full" field.
80 * Get search string for the "full" field.
89 * Set search string for the "defs" field.
99 * Get search strin
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DPrefixMatcher.java24 package org.opensolaris.opengrok.search.context;
H A DTokenSetMatcher.java24 package org.opensolaris.opengrok.search.context;
H A DPhraseMatcher.java24 package org.opensolaris.opengrok.search.context;
H A DWildCardMatcher.java26 package org.opensolaris.opengrok.search.context;
112 // This was a prefix wildcard search, and we've matched, so
H A DLineMatcher.java24 package org.opensolaris.opengrok.search.context;
H A DContext.java30 package org.opensolaris.opengrok.search.context;
40 import org.apache.lucene.search.Query;
44 import org.opensolaris.opengrok.search.Hit;
105 field = "q"; // bah - search query params should be consistent!
H A DQueryMatchers.java24 package org.opensolaris.opengrok.search.context;
32 import org.apache.lucene.search.BooleanClause;
33 import org.apache.lucene.search.BooleanQuery;
34 import org.apache.lucene.search.PhraseQuery;
35 import org.apache.lucene.search.PrefixQuery;
36 import org.apache.lucene.search.Query;
37 import org.apache.lucene.search.TermQuery;
38 import org.apache.lucene.search.WildcardQuery;
H A DHistoryContext.java24 package org.opensolaris.opengrok.search.context;
35 import org.apache.lucene.search.Query;
41 import org.opensolaris.opengrok.search.Hit;
/opengrok-sun/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 2105 milliseconds