lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject [2/2] lucenenet git commit: output deleted ids for easier debugging
Date Sat, 07 Mar 2015 19:29:58 GMT
output deleted ids for easier debugging


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

Branch: refs/heads/master
Commit: 6bbe71ffe4b450a830097adb137adb6fb4c76196
Parents: 80bcdfa
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sat Mar 7 14:05:33 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sat Mar 7 14:05:33 2015 -0500

----------------------------------------------------------------------
 .../Index/ThreadedIndexingAndSearchingTestCase.cs                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6bbe71ff/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs b/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
index f329dfd..9aad57a 100644
--- a/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
+++ b/src/Lucene.Net.TestFramework/Index/ThreadedIndexingAndSearchingTestCase.cs
@@ -736,7 +736,7 @@ namespace Lucene.Net.Index
                     TopDocs hits = s.Search(new TermQuery(new Term("docid", stringID)), 1);
                     if (hits.TotalHits != 1)
                     {
-                        Console.WriteLine("doc id=" + stringID + " is not supposed to be
deleted, but got hitCount=" + hits.TotalHits + "; delIDs=" + delIDs);
+                        Console.WriteLine("doc id=" + stringID + " is not supposed to be
deleted, but got hitCount=" + hits.TotalHits + "; delIDs=" + string.Join(",",  delIDs.ToArray()));
                         doFail = true;
                     }
                 }


Mime
View raw message