Searched refs:sc (Results 1 - 22 of 22) sorted by relevance

/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/
H A DTestFastLRUCache.java39 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 DTernaryTree.java106 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 DHyphenationTree.java225 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 DScriptIterator.java104 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 Dbreadcrumbs-optimized.js36 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 Dbreadcrumbs-optimized.js36 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 DTestConfig.java151 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 DTestLuceneDictionary.java177 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 DTestSpellChecker.java332 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 DSpellCheckCollator.java44 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 DClusteringComponentTest.java42 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 DBoostedQuery.java121 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 DFunctionQuery.java196 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 DValueSourceQuery.java109 float sc = queryWeight * vals.floatVal(doc);
112 true, sc, ValueSourceQuery.this.toString() + ", product of:");
H A DCustomScoreQuery.java276 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 DDistributedSpellCheckComponentTest.java83 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 DComplexPhraseQueryParser.java258 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 DQueryUtils.java295 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 DQueryUtils.java299 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 DIndexBasedSpellCheckerTest.java256 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 DLatLonType.java531 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 DSnapPuller.java122 public SnapPuller(NamedList initArgs, ReplicationHandler handler, SolrCore sc) { argument
123 solrCore = sc;

Completed in 37 milliseconds