You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by sy...@apache.org on 2015/03/07 20:29:58 UTC
[2/2] lucenenet git commit: output deleted ids for easier debugging
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 <la...@gmail.com>
Authored: Sat Mar 7 14:05:33 2015 -0500
Committer: Laimonas Simutis <la...@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;
}
}