You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by di...@apache.org on 2009/11/28 22:13:01 UTC
svn commit: r885147 -
/incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitingCollector.cs
Author: digy
Date: Sat Nov 28 21:13:01 2009
New Revision: 885147
URL: http://svn.apache.org/viewvc?rev=885147&view=rev
Log:
Patch to TestTimeLimitingCollector as in LUCENENET-301 (TestTimeLimitedCollector.patch)
Modified:
incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitingCollector.cs
Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitingCollector.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestTimeLimitingCollector.cs?rev=885147&r1=885146&r2=885147&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitingCollector.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestTimeLimitingCollector.cs Sat Nov 28 21:13:01 2009
@@ -396,6 +396,7 @@
}
}
System.Diagnostics.Debug.Assert(docId >= 0, "base=" + docBase + " doc=" + doc);
+ bits.Length = Math.Max(bits.Length, docId + 1);
bits.Set(docId, true);
lastDocCollected = docId;
}