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 16:38:03 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/failingtests 8f8c65cbf -> a8c37f72d


more logging


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

Branch: refs/heads/failingtests
Commit: a8c37f72dcfb4494b7e6780f9539d935798dc0a8
Parents: 8f8c65c
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat May 23 12:37:44 2015 -0400
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat May 23 12:37:44 2015 -0400

----------------------------------------------------------------------
 src/Lucene.Net.Core/Search/BooleanQuery.cs  | 3 +++
 src/Lucene.Net.Core/Search/IndexSearcher.cs | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a8c37f72/src/Lucene.Net.Core/Search/BooleanQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/BooleanQuery.cs b/src/Lucene.Net.Core/Search/BooleanQuery.cs
index 155d56f..bd765c5 100644
--- a/src/Lucene.Net.Core/Search/BooleanQuery.cs
+++ b/src/Lucene.Net.Core/Search/BooleanQuery.cs
@@ -393,6 +393,9 @@ namespace Lucene.Net.Search
                 IList<BulkScorer> prohibited = new List<BulkScorer>();
                 IList<BulkScorer> optional = new List<BulkScorer>();
                 IEnumerator<BooleanClause> cIter = OuterInstance.clauses.GetEnumerator();
+                
+                OutputCollector.AppendLine("boolean query bulk scorer, got enumerator: "
+ cIter.GetType());
+
                 foreach (Weight w in Weights)
                 {
                     cIter.MoveNext();

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/a8c37f72/src/Lucene.Net.Core/Search/IndexSearcher.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Search/IndexSearcher.cs b/src/Lucene.Net.Core/Search/IndexSearcher.cs
index 45bd358..a9cfda9 100644
--- a/src/Lucene.Net.Core/Search/IndexSearcher.cs
+++ b/src/Lucene.Net.Core/Search/IndexSearcher.cs
@@ -654,12 +654,14 @@ namespace Lucene.Net.Search
                     // continue with the following leaf
                     continue;
                 }
+                OutputCollector.AppendLine("");
+                OutputCollector.AppendLine("IndexSearcher.Search creating scorer");
                 BulkScorer scorer = weight.BulkScorer(ctx, !collector.AcceptsDocsOutOfOrder(),
ctx.AtomicReader.LiveDocs);
+                OutputCollector.AppendLine("IndexSearcher.Search bulk scorer " + scorer);
                 if (scorer != null)
                 {
                     try
                     {
-                        OutputCollector.AppendLine("IndexSearcher.Search bulk scorer " +
scorer);
                         scorer.Score(collector);
                     }
                     catch (CollectionTerminatedException)


Mime
View raw message