You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2017/03/31 15:28:53 UTC
[4/4] lucene-solr:branch_6x: LUCENE-7761: Fixed comment in
ReqExclScorer.
LUCENE-7761: Fixed comment in ReqExclScorer.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/824c0c24
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/824c0c24
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/824c0c24
Branch: refs/heads/branch_6x
Commit: 824c0c2484e806a7f3c436c9b50be98b66daaaef
Parents: d37570c
Author: Adrien Grand <jp...@gmail.com>
Authored: Fri Mar 31 16:11:19 2017 +0200
Committer: Adrien Grand <jp...@gmail.com>
Committed: Fri Mar 31 17:28:31 2017 +0200
----------------------------------------------------------------------
lucene/CHANGES.txt | 3 +++
lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/824c0c24/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index f9ee8f4..d5c3eea 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -16,6 +16,9 @@ Other
* LUCENE-7743: Never call new String(String).
(Daniel Jelinski via Adrien Grand)
+* LUCENE-7761: Fixed comment in ReqExclScorer.
+ (Pablo Pita Leira via Adrien Grand)
+
======================= Lucene 6.5.1 =======================
Bug Fixes
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/824c0c24/lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java b/lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java
index 5ce6f5e..50a321b 100644
--- a/lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java
+++ b/lucene/core/src/java/org/apache/lucene/search/ReqExclScorer.java
@@ -154,7 +154,7 @@ class ReqExclScorer extends Scorer {
}
};
} else {
- // reqTwoPhaseIterator is MORE costly than exclTwoPhaseIterator, check it first
+ // reqTwoPhaseIterator is MORE costly than exclTwoPhaseIterator, check it last
return new TwoPhaseIterator(reqApproximation) {
@Override