/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | ConjunctionScorer.java | 29 private final float coord; field in class:ConjunctionScorer 32 public ConjunctionScorer(Weight weight, float coord, Collection<Scorer> scorers) throws IOException { argument 33 this(weight, coord, scorers.toArray(new Scorer[scorers.size()])); 36 public ConjunctionScorer(Weight weight, float coord, Scorer... scorers) throws IOException { argument 39 this.coord = coord; 137 return sum * coord;
|
H A D | SimilarityDelegator.java | 66 public float coord(int overlap, int maxOverlap) { method in class:SimilarityDelegator 67 return delegee.coord(overlap, maxOverlap);
|
H A D | BooleanScorer.java | 81 bucket.coord = 1; // initialize coord 88 bucket.coord++; // increment coord 145 int coord; // count of terms in score field in class:BooleanScorer.Bucket 229 coordFactors[i] = disableCoord ? 1.0f : similarity.coord(i, maxCoord); 265 if (current.coord >= minNrShouldMatch) { 266 bs.score = current.score * coordFactors[current.coord]; 268 bs.freq = current.coord;
|
H A D | DefaultSimilarity.java | 69 public float coord(int overlap, int maxOverlap) { method in class:DefaultSimilarity
|
H A D | BooleanQuery.java | 74 * {@link Similarity#coord(int,int)} may be disabled in scoring, as 79 * @param disableCoord disables {@link Similarity#coord(int,int)} in scoring. 85 /** Returns true iff {@link Similarity#coord(int,int)} is disabled in 220 int coord = 0; 241 coord++; 272 sumExpl.setMatch(0 < coord ? Boolean.TRUE : Boolean.FALSE); 275 final float coordFactor = disableCoord ? 1.0f : similarity.coord(coord, maxCoord); 284 "coord("+coord [all...] |
H A D | BooleanScorer2.java | 48 coordFactors[i] = disableCoord ? 1.0f : sim.coord(i, maxCoord); 74 * ({@link Similarity#coord(int, int)}) is not used. 173 return new ConjunctionScorer(weight, disableCoord ? 1.0f : similarity.coord(requiredScorers.size(), requiredScorers.size()), requiredScorers) { 199 return new ConjunctionScorer(weight, disableCoord ? 1.0f : similarity.coord(2, 2), req1, req2);
|
H A D | Similarity.java | 158 * more terms are matched: <i>coord-factor(q,d)</i>. 174 * <font color="#FF9933">coord-factor(q,d)</font> · 266 * <A HREF="#formula_coord"><font color="#FF9933">coord(q,d)</font></A> · 361 * <b><i>coord(q,d)</i></b> 366 * {@link #coord(int, int) coord(q,d)} 897 public abstract float coord(int overlap, int maxOverlap); method in class:Similarity
|
/lucene-3.6.0/lucene/contrib/spatial/src/java/org/apache/lucene/spatial/tier/projections/ |
H A D | CartesianTierPlotter.java | 98 private double getBoxId (double coord){ argument 101 return Math.floor(coord / (idd / this.tierLength)); 105 private double getBoxId (double coord, int tierLen){ argument 106 return Math.floor(coord / (idd / tierLen) );
|
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/ |
H A D | BoostingQuery.java | 65 public float coord(int overlap, int max) {
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestSimilarity.java | 47 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestSimilarity.SimpleSimilarity
|
H A D | JustCompileSearch.java | 378 public float coord(int overlap, int maxOverlap) { method in class:JustCompileSearch.JustCompileSimilarity
|
H A D | TestBoolean2.java | 220 public float coord(int overlap, int maxOverlap) {
|
H A D | TestMultiSearcher.java | 382 public float coord(int overlap, int maxOverlap) { return 1.0f; }
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestSimilarity.java | 47 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestSimilarity.SimpleSimilarity
|
H A D | JustCompileSearch.java | 378 public float coord(int overlap, int maxOverlap) { method in class:JustCompileSearch.JustCompileSimilarity
|
H A D | TestBoolean2.java | 220 public float coord(int overlap, int maxOverlap) {
|
H A D | TestMultiSearcher.java | 382 public float coord(int overlap, int maxOverlap) { return 1.0f; }
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestOmitTf.java | 43 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestOmitTf.SimpleSimilarity
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/payloads/ |
H A D | TestPayloadNearQuery.java | 331 @Override public float coord(int overlap, int maxOverlap) { method in class:TestPayloadNearQuery.BoostingSimilarity
|
H A D | TestPayloadTermQuery.java | 325 public float coord(int overlap, int maxOverlap) { method in class:TestPayloadTermQuery.BoostingSimilarity
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestOmitTf.java | 43 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestOmitTf.SimpleSimilarity
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/payloads/ |
H A D | TestPayloadNearQuery.java | 331 @Override public float coord(int overlap, int maxOverlap) { method in class:TestPayloadNearQuery.BoostingSimilarity
|
H A D | TestPayloadTermQuery.java | 325 public float coord(int overlap, int maxOverlap) { method in class:TestPayloadTermQuery.BoostingSimilarity
|