/lucene-3.6.0/solr/core/src/test/org/apache/solr/schema/ |
H A D | CustomSimilarityFactory.java | 23 public Similarity getSimilarity() { method in class:CustomSimilarityFactory
|
H A D | IndexSchemaTest.java | 86 Similarity similarity = core.getSchema().getSimilarity();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | ScoreCachingWrappingScorer.java | 41 super(scorer.getSimilarity(), scorer.weight); 51 public Similarity getSimilarity() { method in class:ScoreCachingWrappingScorer 52 return scorer.getSimilarity();
|
H A D | TermScorer.java | 62 scoreCache[i] = getSimilarity().tf(i) * weightValue; 131 : getSimilarity().tf(freq)*weightValue; // cache miss 133 return norms == null ? raw : raw * getSimilarity().decodeNormValue(norms[doc]); // normalize for field
|
H A D | PhraseScorer.java | 88 float raw = getSimilarity().tf(freq) * value; // raw score 89 return norms == null ? raw : raw * getSimilarity().decodeNormValue(norms[max.doc]); // normalize
|
H A D | MatchAllDocsQuery.java | 73 return norms == null ? score : score * getSimilarity().decodeNormValue(norms[docID()]); 88 this.similarity = searcher.getSimilarity();
|
H A D | Query.java | 204 public Similarity getSimilarity(Searcher searcher) { method in class:Query 205 return searcher.getSimilarity();
|
H A D | Searcher.java | 155 public Similarity getSimilarity() { method in class:Searcher 171 float norm = query.getSimilarity(this).queryNorm(sum);
|
H A D | Scorer.java | 79 public Similarity getSimilarity() { method in class:Scorer
|
H A D | ExactPhraseScorer.java | 90 scoreCache[i] = getSimilarity().tf((float) i) * value; 232 raw = getSimilarity().tf((float) freq) * value; 234 return norms == null ? raw : raw * getSimilarity().decodeNormValue(norms[docID]); // normalize
|
H A D | ConstantScoreQuery.java | 104 this.similarity = getSimilarity(searcher); 214 collector.setScorer(new ConstantScorer(ConstantScorer.this.getSimilarity(),
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/ |
H A D | SimilarityFactory.java | 28 public abstract Similarity getSimilarity(); method in class:SimilarityFactory
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/spans/ |
H A D | SpanScorer.java | 84 freq += getSimilarity().sloppyFreq(matchLength); 95 float raw = getSimilarity().tf(freq) * value; // raw score 96 return norms == null? raw : raw * getSimilarity().decodeNormValue(norms[doc]); // normalize 112 tfExplanation.setValue(getSimilarity().tf(phraseFreq));
|
H A D | SpanWeight.java | 45 this.similarity = query.getSimilarity(searcher);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/processors/ |
H A D | FuzzyQueryNodeProcessor.java | 64 if (fuzzyNode.getSimilarity() < 0) { 68 } else if (fuzzyNode.getSimilarity() < 0) {
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/ |
H A D | FuzzyQueryNode.java | 98 public float getSimilarity() { method in class:FuzzyQueryNode
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/builders/ |
H A D | FuzzyQueryNodeBuilder.java | 39 .getTextAsString()), fuzzyNode.getSimilarity(), fuzzyNode
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestIndexWriterConfig.java | 71 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 92 getters.add("getSimilarity"); 188 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 190 assertEquals(MySimilarity.class, conf.getSimilarity().getClass()); 192 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 280 assertEquals(MySimilarity.class, writer.getConfig().getSimilarity().getClass());
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestIndexWriterConfig.java | 71 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 92 getters.add("getSimilarity"); 188 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 190 assertEquals(MySimilarity.class, conf.getSimilarity().getClass()); 192 assertTrue(Similarity.getDefault() == conf.getSimilarity()); 280 assertEquals(MySimilarity.class, writer.getConfig().getSimilarity().getClass());
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | BoostingQuery.java | 61 public Similarity getSimilarity(Searcher searcher) {
|
H A D | FuzzyLikeThisQuery.java | 364 public Similarity getSimilarity(Searcher searcher) method in class:FuzzyLikeThisQuery.FuzzyTermQuery 366 Similarity result = super.getSimilarity(searcher);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/payloads/ |
H A D | PayloadNearQuery.java | 157 Similarity similarity = getSimilarity(); 215 freq += getSimilarity().sloppyFreq(matchLength);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/ |
H A D | ValueSourceQuery.java | 71 this.similarity = getSimilarity(searcher);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/ |
H A D | SolrConstantScoreQuery.java | 92 this.similarity = getSimilarity(searcher);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/ |
H A D | FunctionQuery.java | 96 return new AllScorer(getSimilarity(searcher), reader, this);
|