lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r882691 - /incubator/lucene.net/trunk/C#/src/Test/Search/TestTopDocsCollector.cs
Date Fri, 20 Nov 2009 19:30:11 GMT
Author: digy
Date: Fri Nov 20 19:30:11 2009
New Revision: 882691

URL: http://svn.apache.org/viewvc?rev=882691&view=rev
Log:
LUCENENET-296 TestTopDocsCollector Setup

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Search/TestTopDocsCollector.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Search/TestTopDocsCollector.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Search/TestTopDocsCollector.cs?rev=882691&r1=882690&r2=882691&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Search/TestTopDocsCollector.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Search/TestTopDocsCollector.cs Fri Nov 20 19:30:11
2009
@@ -116,6 +116,7 @@
 			
 			// populate an index with 30 documents, this should be enough for the test.
 			// The documents have no content - the test uses MatchAllDocsQuery().
+            dir = new RAMDirectory();
 			IndexWriter writer = new IndexWriter(dir, new KeywordAnalyzer(), MaxFieldLength.UNLIMITED);
 			for (int i = 0; i < 30; i++)
 			{



Mime
View raw message