Searched refs:tmp (Results 1 - 25 of 45) sorted by relevance

12

/lucene-3.6.0/solr/core/src/java/org/apache/solr/util/
H A DDisMaxParams.java112 Object tmp;
114 tmp = args.get(TIE);
115 if (null != tmp) {
116 if (tmp instanceof Float) {
117 tiebreaker = ((Float)tmp).floatValue();
123 tmp = args.get(QF);
124 if (null != tmp) {
125 if (tmp instanceof String) {
126 qf = tmp.toString();
132 tmp
[all...]
H A DCommonParams.java81 Object tmp;
83 tmp = args.get(FL);
84 if (null != tmp) {
85 if (tmp instanceof String) {
86 fl = tmp.toString();
92 tmp = args.get(DF);
93 if (null != tmp) {
94 if (tmp instanceof String) {
95 df = tmp.toString();
101 tmp
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DLegacyDateField.java94 SimpleDateFormat tmp =
96 tmp.setTimeZone(UTC);
97 proto = tmp;
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestTieredMergePolicy.java32 TieredMergePolicy tmp = newTieredMergePolicy();
33 conf.setMergePolicy(tmp);
35 tmp.setMaxMergeAtOnce(100);
36 tmp.setSegmentsPerTier(100);
37 tmp.setForceMergeDeletesPctAllowed(30.0);
60 tmp.setForceMergeDeletesPctAllowed(10.0);
77 TieredMergePolicy tmp = newTieredMergePolicy();
78 conf.setMergePolicy(tmp);
80 tmp.setMaxMergeAtOnce(3);
81 tmp
[all...]
H A DTestForTooMuchCloning.java37 final TieredMergePolicy tmp = new TieredMergePolicy();
38 tmp.setMaxMergeAtOnce(2);
40 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(2).setMergePolicy(tmp));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestTieredMergePolicy.java32 TieredMergePolicy tmp = newTieredMergePolicy();
33 conf.setMergePolicy(tmp);
35 tmp.setMaxMergeAtOnce(100);
36 tmp.setSegmentsPerTier(100);
37 tmp.setForceMergeDeletesPctAllowed(30.0);
60 tmp.setForceMergeDeletesPctAllowed(10.0);
77 TieredMergePolicy tmp = newTieredMergePolicy();
78 conf.setMergePolicy(tmp);
80 tmp.setMaxMergeAtOnce(3);
81 tmp
[all...]
H A DTestForTooMuchCloning.java39 final TieredMergePolicy tmp = new TieredMergePolicy();
40 tmp.setMaxMergeAtOnce(2);
42 newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random)).setMaxBufferedDocs(2).setMergePolicy(tmp));
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/params/
H A DModifiableSolrParams.java141 String[] tmp = vals.get(name);
142 if (tmp==null) return false;
143 for (int i=0; i<tmp.length; i++) {
144 if (tmp[i].equals(value)) {
145 String[] tmp2 = new String[tmp.length-1];
150 System.arraycopy(tmp, 0, tmp2, 0, i);
151 System.arraycopy(tmp, i+1, tmp2, i, tmp.length-i-1);
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/
H A DSimilarityQueries.java91 BooleanQuery tmp = new BooleanQuery();
104 tmp.add( tq, BooleanClause.Occur.SHOULD);
112 return tmp;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DSpanQueryFilter.java65 List<SpanFilterResult.PositionInfo> tmp = new ArrayList<SpanFilterResult.PositionInfo>(20);
75 tmp.add(currentInfo);
80 return new SpanFilterResult(bits, tmp);
H A DConjunctionScorer.java87 Scorer tmp = scorers[i];
90 scorers[idx] = tmp;
H A DBooleanScorer.java239 Bucket tmp;
258 tmp = current;
260 tmp.next = bucketTable.first;
261 bucketTable.first = tmp;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/admin/
H A DSystemInfoHandler.java250 StringWriter tmp = new StringWriter();
253 XML.escapeCharData(solrImplVersion, tmp);
254 solrImplVersion = tmp.toString();
256 tmp = new StringWriter();
259 XML.escapeCharData(solrSpecVersion, tmp);
260 solrSpecVersion = tmp.toString();
264 tmp = new StringWriter();
267 XML.escapeCharData(luceneImplVersion, tmp);
268 luceneImplVersion = tmp.toString();
270 tmp
[all...]
/lucene-3.6.0/solr/scripts/
H A Dsnapinstaller126 trap 'echo "caught INT/TERM, exiting now but partial installation may have already occured";/bin/rm -rf ${data_dir}/index.tmp$$;logExit aborted 13' INT TERM
157 mkdir ${data_dir}/index.tmp$$ && \
159 find . -print|cpio -pdlmu ${data_dir}/index.tmp$$ 1>/dev/null 2>&1 && \
161 mv -f ${data_dir}/index.tmp$$ ${data_dir}/index
164 cp -lr ${name}/ ${data_dir}/index.tmp$$ && \
166 mv -f ${data_dir}/index.tmp$$ ${data_dir}/index
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DMappingCharFilter.java122 char[] tmp = new char[len];
123 int l = input.read(tmp, 0, len);
126 pushLastChar(tmp[i]);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/wikipedia/
H A DWikipediaTokenizer.java233 List<AttributeSource.State> tmp = new ArrayList<AttributeSource.State>();
235 tmp.add(captureState());
245 tmp.add(captureState());
259 tokens = tmp.iterator();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DSnapPuller.java632 * The conf files are copied to the tmp dir to the conf dir. A backup of the old file is maintained
784 List<Map<String, Object>> tmp = confFilesToDownload;
786 return tmp == null ? Collections.EMPTY_LIST : new ArrayList<Map<String, Object>>(tmp);
791 List<Map<String, Object>> tmp = confFilesDownloaded;
793 return tmp == null ? Collections.EMPTY_LIST : new ArrayList<Map<String, Object>>(tmp);
798 List<Map<String, Object>> tmp = filesToDownload;
799 return tmp == null ? Collections.EMPTY_LIST : new ArrayList<Map<String, Object>>(tmp);
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/
H A DLuceneTestCase.java844 TieredMergePolicy tmp = new TieredMergePolicy();
846 tmp.setMaxMergeAtOnce(_TestUtil.nextInt(r, 2, 4));
847 tmp.setMaxMergeAtOnceExplicit(_TestUtil.nextInt(r, 2, 4));
849 tmp.setMaxMergeAtOnce(_TestUtil.nextInt(r, 5, 50));
850 tmp.setMaxMergeAtOnceExplicit(_TestUtil.nextInt(r, 5, 50));
852 tmp.setMaxMergedSegmentMB(0.2 + r.nextDouble() * 2.0);
853 tmp.setFloorSegmentMB(0.2 + r.nextDouble() * 2.0);
854 tmp.setForceMergeDeletesPctAllowed(0.0 + r.nextDouble() * 30.0);
855 tmp.setSegmentsPerTier(_TestUtil.nextInt(r, 2, 20));
856 tmp
[all...]
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/tier/
H A DCartesianPolyFilterBuilder.java139 double tmp = beginAt;
141 endAt = tmp;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCompoundFileWriter.java216 IndexOutput tmp = os;
218 tmp.close();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/response/
H A DCSVResponseWriter.java149 int tmp; field in class:CSVWriter.CSVField
358 if (csvField.tmp != pass) {
359 csvField.tmp = pass;
370 if (csvField.tmp != pass) {
379 CSVPrinter tmp = printer;
384 printer = tmp; // restore the original printer
427 CSVPrinter tmp = printer;
432 printer = tmp; // restore the original printer
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/miscellaneous/
H A DPatternAnalyzer.java299 char[] tmp = new char[Math.max(output.length << 1, len + n)];
300 System.arraycopy(output, 0, tmp, 0, len);
301 System.arraycopy(buffer, 0, tmp, len, n);
303 output = tmp;
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/
H A DDebugComponent.java183 NamedList tmp = new NamedList();
205 tmp.add(skey, merge(sval, null, null));
210 dl.addAll(tmp);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/
H A DCurrencyFieldTest.java71 FieldType tmp = amount.getType();
72 assertTrue(tmp instanceof CurrencyField);
88 ExchangeRateProvider p = ((CurrencyField) tmp).getProvider();
H A DPolyFieldTest.java80 FieldType tmp = home.getType();
81 assertTrue(tmp instanceof PointType);
82 PointType pt = (PointType) tmp;

Completed in 572 milliseconds

12