lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lai...@apache.org
Subject lucenenet git commit: more logging
Date Sun, 24 May 2015 00:57:35 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 2e2f90b76 -> 9a63c23bb


more logging


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

Branch: refs/heads/failingtests
Commit: 9a63c23bb61b1061a48b3e4cfc2c3d8794a288bb
Parents: 2e2f90b
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 23 20:57:20 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 23 20:57:20 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/9a63c23b/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 206c58a..7d47534 100644
--- a/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
+++ b/src/Lucene.Net.Core/Search/FuzzyTermsEnum.cs
@@ -235,6 +235,8 @@ namespace Lucene.Net.Search
         /// </summary>
         private void BottomChanged(BytesRef lastTerm, bool init)
         {
+            OutputCollector.AppendLine("FuzzyTermsEnum bottom changed, lastTerm=" + lastTerm
+ ", init=" + init + ", MaxEdits=" + MaxEdits);
+                
             int oldMaxEdits = MaxEdits;
 
             // true if the last term encountered is lexicographically equal or after the
bottom term in the PQ
@@ -247,6 +249,7 @@ namespace Lucene.Net.Search
                 MaxEdits--;
             }
 
+            OutputCollector.AppendLine("FuzzyTermsEnum bottom changed, oldMaxIedits=" + oldMaxEdits
+ ", maxEdits=" + MaxEdits);
             if (oldMaxEdits != MaxEdits || init) // the maximum n has changed
             {
                 MaxEditDistanceChanged(lastTerm, MaxEdits, init);
@@ -286,7 +289,6 @@ namespace Lucene.Net.Search
             OutputCollector.AppendLine("FuzzyTermsEnum.Next start");
             if (QueuedBottom != null)
             {
-                OutputCollector.AppendLine("FuzzyTermsEnum.Next bottom changed");
                 BottomChanged(QueuedBottom, false);
                 QueuedBottom = null;
             }


Mime
View raw message