/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fr/ |
H A D | FrenchLightStemmer.java | 82 return norm(s, len); 88 return norm(s, len); 97 return norm(s, len); 104 return norm(s, len); 111 return norm(s, len); 120 return norm(s, len); 129 return norm(s, len); 136 return norm(s, len); 143 return norm(s, len); 154 return norm( 230 private int norm(char s[], int len) { method in class:FrenchLightStemmer [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | Weight.java | 68 public abstract void normalize(float norm); argument
|
H A D | Searcher.java | 171 float norm = query.getSimilarity(this).queryNorm(sum); 172 if (Float.isInfinite(norm) || Float.isNaN(norm)) 173 norm = 1.0f; 174 weight.normalize(norm);
|
H A D | ConstantScoreQuery.java | 127 public void normalize(float norm) { argument 128 this.queryNorm = norm; 131 if (innerWeight != null) innerWeight.normalize(norm);
|
H A D | DisjunctionMaxQuery.java | 135 public void normalize(float norm) { argument 136 norm *= getBoost(); // Incorporate our boost 138 wt.normalize(norm);
|
H A D | BooleanQuery.java | 205 public void normalize(float norm) { argument 206 norm *= getBoost(); // incorporate boost 209 w.normalize(norm);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | SegmentReader.java | 171 * Clones the norm bytes. May be overridden by subclasses. New and experimental. 294 SegmentNorms norm = this.norms.get(curField); 295 if (norm != null) 296 clone.norms.put(curField, (SegmentNorms) norm.clone()); 367 for (final SegmentNorms norm : norms.values()) { 368 if (norm.dirty) { 369 norm.reWrite(si); 393 for (final SegmentNorms norm : norms.values()) { 394 norm.decRef(); 570 final SegmentNorms norm [all...] |
H A D | NormsWriterPerField.java | 26 * and record the norm. */ 34 // Holds all docID/norm pairs we've seen 75 final float norm = docState.similarity.computeNorm(fieldInfo.name, fieldState); 76 norms[upto] = docState.similarity.encodeNormValue(norm);
|
H A D | LogMergePolicy.java | 501 final float norm = (float) Math.log(mergeFactor); 514 final SegmentInfoAndLevel infoLevel = new SegmentInfoAndLevel(info, (float) Math.log(size)/norm, i); 531 levelFloor = (float) (Math.log(minMergeSize)/norm);
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/geometry/shape/ |
H A D | LineSegment.java | 69 return w.norm(); 77 return new Vector2D(B, P).norm(); 84 return new Vector2D(closestPt, P).norm();
|
H A D | Vector2D.java | 110 public double norm() { method in class:Vector2D
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestNorms.java | 45 // Disable length norm 179 float norm = similarityOne.decodeNormValue(b[j]); 181 assertEquals("stored norm value of "+field+" for doc "+j+" is "+norm+" - a mismatch!", norm, norm1, 0.000001); 212 // return unique norm values that are unchanged by encoding/decoding 214 float norm = lastNorm + normDelta; 216 float norm1 = similarityOne.decodeNormValue(similarityOne.encodeNormValue(norm)); 219 norm = norm1; 222 norm [all...] |
H A D | TestIndexReaderCloneNorms.java | 45 // diable length norm 198 // edit a norm and the refcount should be 1 212 // norm values should be different 275 float norm = Similarity.getDefault().decodeNormValue(b[j]); 277 assertEquals("stored norm value of " + field + " for doc " + j + " is " 278 + norm + " - a mismatch!", norm, norm1, 0.000001); 310 // return unique norm values that are unchanged by encoding/decoding 312 float norm = lastNorm + normDelta; 315 Similarity.getDefault().encodeNormValue(norm)); [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestNorms.java | 45 // Disable length norm 179 float norm = similarityOne.decodeNormValue(b[j]); 181 assertEquals("stored norm value of "+field+" for doc "+j+" is "+norm+" - a mismatch!", norm, norm1, 0.000001); 212 // return unique norm values that are unchanged by encoding/decoding 214 float norm = lastNorm + normDelta; 216 float norm1 = similarityOne.decodeNormValue(similarityOne.encodeNormValue(norm)); 219 norm = norm1; 222 norm [all...] |
H A D | TestIndexReaderCloneNorms.java | 45 // diable length norm 198 // edit a norm and the refcount should be 1 212 // norm values should be different 275 float norm = Similarity.getDefault().decodeNormValue(b[j]); 277 assertEquals("stored norm value of " + field + " for doc " + j + " is " 278 + norm + " - a mismatch!", norm, norm1, 0.000001); 310 // return unique norm values that are unchanged by encoding/decoding 312 float norm = lastNorm + normDelta; 315 Similarity.getDefault().encodeNormValue(norm)); [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/cjk/ |
H A D | TestCJKAnalyzer.java | 206 final NormalizeCharMap norm = new NormalizeCharMap(); 207 norm.add("a", "一二"); 208 norm.add("b", "二三"); 218 return new MappingCharFilter(norm, CharReader.get(reader));
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/search/ |
H A D | AssertingIndexSearcher.java | 63 public void normalize(float norm) { argument
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/ |
H A D | RequestHandlers.java | 105 String norm = normalize( handlerName ); 107 return handlers.remove( norm ); 109 SolrRequestHandler old = handlers.put(norm, handler); 110 if (0 != norm.length() && handler instanceof SolrInfoMBean) {
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/search/ |
H A D | AssertingIndexSearcher.java | 63 public void normalize(float norm) { argument
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/ |
H A D | ValueSourceQuery.java | 95 public void normalize(float norm) { argument 96 this.queryNorm = norm;
|
H A D | CustomScoreQuery.java | 229 public void normalize(float norm) { argument 230 norm *= getBoost(); // incorporate boost 231 subQueryWeight.normalize(norm); 236 valSrcWeights[i].normalize(norm);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SolrConstantScoreQuery.java | 115 public void normalize(float norm) { argument 116 this.queryNorm = norm;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | FunctionQuery.java | 89 public void normalize(float norm) { argument 90 this.queryNorm = norm;
|
H A D | BoostedQuery.java | 93 public void normalize(float norm) { argument 94 norm *= getBoost(); 95 qWeight.normalize(norm);
|
/lucene-3.6.0/lucene/contrib/join/src/java/org/apache/lucene/search/join/ |
H A D | ToChildBlockJoinQuery.java | 125 public void normalize(float norm) { argument 126 parentWeight.normalize(norm * joinQuery.getBoost());
|