/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/ |
H A D | TestFastLRUCache.java | 39 FastLRUCache sc = new FastLRUCache(); 51 Object o = sc.init(l, null, cr); 52 sc.setState(SolrCache.State.LIVE); 54 sc.put(i + 1, "" + (i + 1)); 56 assertEquals("25", sc.get(25)); 57 assertEquals(null, sc.get(110)); 58 NamedList nl = sc.getStatistics(); 63 assertEquals(null, sc.get(1)); // first item put in should be the first out 68 scNew.warm(null, sc); 70 sc 149 useCache(SolrCache sc, int numGets, int maxKey, int seed) argument 166 fillCache(SolrCache sc, int cacheSize, int maxKey) argument 174 cachePerfTest(final SolrCache sc, final int nThreads, final int numGets, int cacheSize, final int maxKey) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/hyphenation/ |
H A D | TernaryTree.java | 106 protected char[] sc; field in class:TernaryTree 132 sc = new char[BLOCK_SIZE]; 176 sc[p] = 0xFFFF; // indicates branch is compressed 180 sc[p] = 0; 186 if (sc[p] == 0xFFFF) { 195 sc[p] = kv.get(lo[pp]); 201 sc[pp] = 0; 205 sc[pp] = 0xFFFF; 210 sc[pp] = 0xFFFF; 212 sc[ [all...] |
H A D | HyphenationTree.java | 225 while (p > 0 && p < sc.length) { 226 if (sc[p] == 0xFFFF) { 239 int d = sp - sc[p]; 250 while (q > 0 && q < sc.length) { 251 if (sc[q] == 0xFFFF) { // stop at compressed branch 254 if (sc[q] == 0) { 268 * actually the code should be: q = sc[q] < 0 ? hi[q] : lo[q]; but
|
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ |
H A D | ScriptIterator.java | 104 final int sc = getScript(ch); 113 if (isSameScript(scriptCode, sc) 120 if (scriptCode <= UScript.INHERITED && sc > UScript.INHERITED) { 121 scriptCode = sc;
|
/lucene-3.6.0/lucene/site/build/site/skin/ |
H A D | breadcrumbs-optimized.js | 36 function sc(s) { function 69 h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>'; 80 h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
|
/lucene-3.6.0/lucene/site/src/documentation/skins/common/scripts/ |
H A D | breadcrumbs-optimized.js | 36 function sc(s) { function 69 h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>'; 80 h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/core/ |
H A D | TestConfig.java | 151 SolrConfig sc = new SolrConfig("solrconfig-basic.xml"); 152 SolrIndexConfig sic = sc.indexConfig; 160 SolrConfig sc = new SolrConfig("solrconfig-basic-luceneVersion31.xml"); 161 SolrIndexConfig sic = sc.indexConfig;
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/spell/ |
H A D | TestLuceneDictionary.java | 177 SpellChecker sc = new SpellChecker(dir); 179 sc.indexDictionary(new LuceneDictionary(indexReader, "contents"), newIndexWriterConfig(TEST_VERSION_CURRENT, null), false); 180 String[] suggestions = sc.suggestSimilar("Tam", 1); 183 suggestions = sc.suggestSimilar("Jarry", 1); 187 sc.close();
|
H A D | TestSpellChecker.java | 332 private void addwords(IndexReader r, SpellChecker sc, String field) throws IOException { argument 334 sc.indexDictionary(new LuceneDictionary(r, field), newIndexWriterConfig(TEST_VERSION_CURRENT, null), false);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/spelling/ |
H A D | SpellCheckCollator.java | 44 for (SearchComponent sc : ultimateResponse.components) { 45 if (sc instanceof QueryComponent) { 46 queryComponent = (QueryComponent) sc;
|
/lucene-3.6.0/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/ |
H A D | ClusteringComponentTest.java | 42 SearchComponent sc = core.getSearchComponent("clustering"); 43 assertTrue("sc is null and it shouldn't be", sc != null);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | BoostedQuery.java | 121 float sc = subQueryExpl.getValue() * vals.floatVal(doc-readerBase); 123 true, sc, BoostedQuery.this.toString() + ", product of:"); 180 float sc = subQueryExpl.getValue() * vals.floatVal(doc); 182 true, sc, BoostedQuery.this.toString() + ", product of:");
|
H A D | FunctionQuery.java | 196 float sc = qWeight * vals.floatVal(doc); 199 (true, sc, "FunctionQuery(" + func + "), product of:");
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/ |
H A D | ValueSourceQuery.java | 109 float sc = queryWeight * vals.floatVal(doc); 112 true, sc, ValueSourceQuery.this.toString() + ", product of:");
|
H A D | CustomScoreQuery.java | 276 float sc = getValue() * customExp.getValue(); 278 true, sc, CustomScoreQuery.this.toString() + ", product of:");
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/component/ |
H A D | DistributedSpellCheckComponentTest.java | 83 NamedList sc = (NamedList) nl.get("spellcheck"); 84 NamedList sug = (NamedList) sc.get("suggestions");
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/ |
H A D | ComplexPhraseQueryParser.java | 258 ArrayList<SpanQuery> sc = new ArrayList<SpanQuery>(); 259 addComplexPhraseClause(sc, (BooleanQuery) qc); 260 if (sc.size() > 0) { 261 allSpanClauses[i] = sc.get(0);
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/search/ |
H A D | QueryUtils.java | 295 private Scorer sc; 301 this.sc = scorer; 306 float score = sc.score();
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/search/ |
H A D | QueryUtils.java | 299 private Scorer sc; 305 this.sc = scorer; 310 float score = sc.score();
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/spelling/ |
H A D | IndexBasedSpellCheckerTest.java | 256 SpellChecker sc = checker.getSpellChecker(); 257 assertTrue("sc is null and it shouldn't be", sc != null); 258 StringDistance sd = sc.getStringDistance();
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | LatLonType.java | 531 float sc = matched ? score() : 0; 537 (this.doc == doc, sc, description + " product of:");
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/ |
H A D | SnapPuller.java | 122 public SnapPuller(NamedList initArgs, ReplicationHandler handler, SolrCore sc) { argument 123 solrCore = sc;
|