lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: change message
Date Sat, 23 May 2015 13:34:58 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 38a4dffb2 -> b6cf47f6a


change message


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/b6cf47f6
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/b6cf47f6
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/b6cf47f6

Branch: refs/heads/failingtests
Commit: b6cf47f6abb49cd2a5a7959048ac3dd7d0e97385
Parents: 38a4dff
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 23 09:34:36 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 23 09:34:36 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/HitQueue.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/b6cf47f6/src/Lucene.Net.Core/Search/HitQueue.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/HitQueue.cs b/src/Lucene.Net.Core/Search/HitQueue.cs
index 6ba24fe..81aa3be 100644
--- a/src/Lucene.Net.Core/Search/HitQueue.cs
+++ b/src/Lucene.Net.Core/Search/HitQueue.cs
@@ -81,14 +81,15 @@ namespace Lucene.Net.Search
             if (hitA.Score == hitB.Score)
             {
                 result = hitA.Doc > hitB.Doc;
+                OutputCollector.AppendLine("Equal scrore, by doc " + hitA + " is less than
" + hitB + ": " + result);
+
             }
             else
             {
                 result = hitA.Score < hitB.Score;
+                OutputCollector.AppendLine("By scrore " + hitA + " is less than " + hitB
+ ": " + result);
             }
 
-            OutputCollector.AppendLine("Comparing " + hitA + " to " + hitB + "; result "
+ result);
-
             return result;
         }
     }


Mime
View raw message