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:14:08 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests a9aede64f -> c64a1aa00


more logging


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

Branch: refs/heads/failingtests
Commit: c64a1aa004b5e1234f0decd465045119e31fa816
Parents: a9aede6
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 23 13:13:39 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 23 13:13:39 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/c64a1aa0/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 8d4ec30..29d8d9d 100644
--- a/src/Lucene.Net.Core/Search/TermQuery.cs
+++ b/src/Lucene.Net.Core/Search/TermQuery.cs
@@ -201,11 +201,13 @@ namespace Lucene.Net.Search
             TermContext termState;
             if (PerReaderTermState == null || PerReaderTermState.TopReaderContext != context)
             {
+                OutputCollector.AppendLine("    Creating term state from context");
                 // make TermQuery single-pass if we don't have a PRTS or if the context differs!
                 termState = TermContext.Build(context, _term);
             }
             else
             {
+                OutputCollector.AppendLine("    Term state was prebuilt");
                 // PRTS was pre-build for this IS
                 termState = this.PerReaderTermState;
             }


Mime
View raw message