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:52 UTC
[3/4] lucene-solr:master: 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/23c6ea27
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/23c6ea27
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/23c6ea27
Branch: refs/heads/master
Commit: 23c6ea274ea3e288a916acc160c2ca6c63d3c4dd
Parents: 0445f82
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:21 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/23c6ea27/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index da643ff..c8a8deb 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -93,6 +93,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/23c6ea27/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