lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: log max boost
Date Sun, 24 May 2015 18:37:58 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 1ee98bcf4 -> 025436344


log max boost


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

Branch: refs/heads/failingtests
Commit: 02543634446db764311a960d2c597d0cff7f4a9d
Parents: 1ee98bc
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sun May 24 14:37:47 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sun May 24 14:37:47 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/02543634/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 196e1c6..46f1342 100644
--- a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
+++ b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
@@ -246,6 +246,8 @@ namespace Lucene.Net.Search
 
             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))


Mime
View raw message