You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/04/01 11:17:01 UTC
[3/9] lucene-solr:feature/autoscaling: 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/602cce30
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/602cce30
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/602cce30
Branch: refs/heads/feature/autoscaling
Commit: 602cce304c7ad16a562f224dfd0352751b12a161
Parents: cccc55c
Author: Adrien Grand <jp...@gmail.com>
Authored: Fri Mar 31 16:11:19 2017 +0200
Committer: Shalin Shekhar Mangar <sh...@apache.org>
Committed: Sat Apr 1 16:46:45 2017 +0530
----------------------------------------------------------------------
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/602cce30/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/602cce30/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