Searched refs:coord (Results 1 - 23 of 23) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DConjunctionScorer.java29 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 DSimilarityDelegator.java66 public float coord(int overlap, int maxOverlap) { method in class:SimilarityDelegator
67 return delegee.coord(overlap, maxOverlap);
H A DBooleanScorer.java81 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 DDefaultSimilarity.java69 public float coord(int overlap, int maxOverlap) { method in class:DefaultSimilarity
H A DBooleanQuery.java74 * {@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 DBooleanScorer2.java48 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 DSimilarity.java158 * more terms are matched: <i>coord-factor(q,d)</i>.
174 * <font color="#FF9933">coord-factor(q,d)</font> &middot; &nbsp;
266 * <A HREF="#formula_coord"><font color="#FF9933">coord(q,d)</font></A> &nbsp;&middot;&nbsp;
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 DCartesianTierPlotter.java98 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 DBoostingQuery.java65 public float coord(int overlap, int max) {
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestSimilarity.java47 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestSimilarity.SimpleSimilarity
H A DJustCompileSearch.java378 public float coord(int overlap, int maxOverlap) { method in class:JustCompileSearch.JustCompileSimilarity
H A DTestBoolean2.java220 public float coord(int overlap, int maxOverlap) {
H A DTestMultiSearcher.java382 public float coord(int overlap, int maxOverlap) { return 1.0f; }
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestSimilarity.java47 @Override public float coord(int overlap, int maxOverlap) { return 1.0f; } method in class:TestSimilarity.SimpleSimilarity
H A DJustCompileSearch.java378 public float coord(int overlap, int maxOverlap) { method in class:JustCompileSearch.JustCompileSimilarity
H A DTestBoolean2.java220 public float coord(int overlap, int maxOverlap) {
H A DTestMultiSearcher.java382 public float coord(int overlap, int maxOverlap) { return 1.0f; }
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestOmitTf.java43 @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 DTestPayloadNearQuery.java331 @Override public float coord(int overlap, int maxOverlap) { method in class:TestPayloadNearQuery.BoostingSimilarity
H A DTestPayloadTermQuery.java325 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 DTestOmitTf.java43 @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 DTestPayloadNearQuery.java331 @Override public float coord(int overlap, int maxOverlap) { method in class:TestPayloadNearQuery.BoostingSimilarity
H A DTestPayloadTermQuery.java325 public float coord(int overlap, int maxOverlap) { method in class:TestPayloadTermQuery.BoostingSimilarity

Completed in 53 milliseconds