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 Sat, 23 May 2015 17:02:55 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 1f14d7de2 -> a9aede64f


more logging


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

Branch: refs/heads/failingtests
Commit: a9aede64f74d29400c82c86b83116b022449dbe8
Parents: 1f14d7d
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 23 13:02:38 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 23 13:02:38 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a9aede64/src/Lucene.Net.Core/Search/TermQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/TermQuery.cs b/src/Lucene.Net.Core/Search/TermQuery.cs
index 54439b2..8d4ec30 100644
--- a/src/Lucene.Net.Core/Search/TermQuery.cs
+++ b/src/Lucene.Net.Core/Search/TermQuery.cs
@@ -109,9 +109,11 @@ namespace Lucene.Net.Search
             /// </summary>
             internal TermsEnum GetTermsEnum(AtomicReaderContext context)
             {
+                OutputCollector.AppendLine("    get state for ord: " + context.Ord);
                 TermState state = TermStates.Get(context.Ord);
                 if (state == null) // term is not present in that reader
                 {
+                    OutputCollector.AppendLine("    state is null");
                     Debug.Assert(TermNotInReader(context.AtomicReader, OuterInstance._term),
"no termstate found but term exists in reader term=" + OuterInstance._term);
                     return null;
                 }


Mime
View raw message