lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: different output
Date Sun, 24 May 2015 19:04:08 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests d81788e2b -> d0f8b59f2


different output


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

Branch: refs/heads/failingtests
Commit: d0f8b59f210a00cd4782651f8b8eb224e5d26727
Parents: d81788e
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sun May 24 15:03:59 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sun May 24 15:03:59 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/d0f8b59f/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
index 46f1342..4757fd0 100644
--- a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
+++ b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
@@ -242,17 +242,15 @@ namespace Lucene.Net.Search
             // true if the last term encountered is lexicographically equal or after the
bottom term in the PQ
             bool termAfter = BottomTerm == null || (lastTerm != null && TermComparator.Compare(lastTerm,
BottomTerm) >= 0);
 
-            OutputCollector.AppendLine("    termAfter=" + termAfter + ", Bottom=" + Bottom.ToString("R"));
+            OutputCollector.AppendLine("    termAfter=" + termAfter + ", Bottom=" + Bottom.ToString("f20"));
 
             var maxBoost = CalculateMaxBoost(MaxEdits);
 
-            OutputCollector.AppendLine("    maxboost=" + maxBoost.ToString("R"));
-
             // as long as the max non-competitive boost is >= the max boost
             // for some edit distance, keep dropping the max edit distance.
             while (MaxEdits > 0 && (termAfter ? Bottom >= maxBoost : Bottom
> maxBoost))
             {
-                OutputCollector.AppendLine("    subtract.");
+                OutputCollector.AppendLine("    subtract. maxBoost was:" + maxBoost.ToString("f20"));
                 MaxEdits--;
                 maxBoost = CalculateMaxBoost(MaxEdits);
             }


Mime
View raw message