lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: adjust logic
Date Sun, 24 May 2015 18:26:50 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests cd4188d1a -> 1ee98bcf4


adjust logic


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

Branch: refs/heads/failingtests
Commit: 1ee98bcf44ccded14a01e530295d81c38c7c76c4
Parents: cd4188d
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sun May 24 14:26:35 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sun May 24 14:26:35 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1ee98bcf/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 546cdab..196e1c6 100644
--- a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
+++ b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
@@ -252,6 +252,7 @@ namespace Lucene.Net.Search
             {
                 OutputCollector.AppendLine("    subtract.");
                 MaxEdits--;
+                maxBoost = CalculateMaxBoost(MaxEdits);
             }
 
             OutputCollector.AppendLine("    oldMaxEdits=" + oldMaxEdits + ", maxEdits=" +
MaxEdits);


Mime
View raw message