/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | NormsWriterPerField.java | 76 norms[upto] = docState.similarity.encodeNormValue(norm);
|
H A D | NormsWriter.java | 41 private final byte defaultNorm = Similarity.getDefault().encodeNormValue(1.0f);
|
H A D | MultiReader.java | 325 Arrays.fill(result, offset, result.length, Similarity.getDefault().encodeNormValue(1.0f));
|
H A D | IndexReader.java | 1263 setNorm(doc, field, Similarity.getDefault().encodeNormValue(value));
|
H A D | SegmentReader.java | 600 Arrays.fill(bytes, offset, bytes.length, Similarity.getDefault().encodeNormValue(1.0f));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestMaxTermFrequency.java | 102 public byte encodeNormValue(float f) { method in class:TestMaxTermFrequency.TestSimilarity
|
H A D | TestUniqueTermCount.java | 98 public byte encodeNormValue(float f) { method in class:TestUniqueTermCount.TestSimilarity
|
H A D | TestNorms.java | 216 float norm1 = similarityOne.decodeNormValue(similarityOne.encodeNormValue(norm)); 234 public byte encodeNormValue(float f) { method in class:TestNorms.CustomNormEncodingSimilarity
|
H A D | TestIndexReaderOnDiskFull.java | 140 reader.setNorm(docId, "content", sim.encodeNormValue(2.0f));
|
H A D | TestSegmentReader.java | 182 byte norm1 = Similarity.getDefault().encodeNormValue(1.0f);
|
H A D | TestIndexReaderCloneNorms.java | 315 Similarity.getDefault().encodeNormValue(norm));
|
H A D | TestIndexReaderClone.java | 428 final byte encoded = Similarity.getDefault().encodeNormValue(17.0f);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestMaxTermFrequency.java | 102 public byte encodeNormValue(float f) { method in class:TestMaxTermFrequency.TestSimilarity
|
H A D | TestUniqueTermCount.java | 98 public byte encodeNormValue(float f) { method in class:TestUniqueTermCount.TestSimilarity
|
H A D | TestNorms.java | 216 float norm1 = similarityOne.decodeNormValue(similarityOne.encodeNormValue(norm)); 234 public byte encodeNormValue(float f) { method in class:TestNorms.CustomNormEncodingSimilarity
|
H A D | TestIndexReaderOnDiskFull.java | 140 reader.setNorm(docId, "content", sim.encodeNormValue(2.0f));
|
H A D | TestSegmentReader.java | 142 byte norm1 = Similarity.getDefault().encodeNormValue(1.0f);
|
H A D | TestIndexReaderCloneNorms.java | 315 Similarity.getDefault().encodeNormValue(norm));
|
H A D | TestIndexReaderClone.java | 428 final byte encoded = Similarity.getDefault().encodeNormValue(17.0f);
|
/lucene-3.6.0/lucene/contrib/misc/src/java/org/apache/lucene/index/ |
H A D | FieldNormModifier.java | 151 reader.setNorm(d, fieldName, sim.encodeNormValue(sim.computeNorm(fieldName, invertState)));
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | Similarity.java | 503 * However the resulted <i>norm</i> value is {@link #encodeNormValue(float) encoded} as a single byte 594 * @see #encodeNormValue(float) 601 * @see #encodeNormValue(float) 625 * {@link #encodeNormValue(float)}. 654 * {@link #encodeNormValue(float)}. 705 public byte encodeNormValue(float f) { method in class:Similarity 710 * Static accessor kept for backwards compability reason, use encodeNormValue instead. 713 * @deprecated Use {@link #encodeNormValue} instead. 715 * @see #encodeNormValue(float)
|
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/ |
H A D | InstantiatedIndexWriter.java | 211 Arrays.fill(norms, oldNorms.length, norms.length, similarity.encodeNormValue(1.0f)); 213 Arrays.fill(norms, 0, norms.length, similarity.encodeNormValue(1.0f)); 221 Arrays.fill(norms, 0, norms.length, similarity.encodeNormValue(1.0f)); 250 normsByFieldNameAndDocumentNumber.get(eFieldTermDocInfoFactoriesByTermText.getKey().fieldName)[document.getDocumentNumber()] = similarity.encodeNormValue(norm);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestMatchAllDocsQuery.java | 72 is.getIndexReader().setNorm(0, "key", is.getSimilarity().encodeNormValue(400f));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestMatchAllDocsQuery.java | 72 is.getIndexReader().setNorm(0, "key", is.getSimilarity().encodeNormValue(400f));
|
/lucene-3.6.0/lucene/contrib/memory/src/java/org/apache/lucene/index/memory/ |
H A D | MemoryIndex.java | 1090 byte norm = sim.encodeNormValue(n);
|