lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r418902 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs
Date Tue, 04 Jul 2006 03:06:50 GMT
Author: aroush
Date: Mon Jul  3 20:06:50 2006
New Revision: 418902

URL: http://svn.apache.org/viewvc?rev=418902&view=rev
Log: (empty)

Modified:
    incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/ParallelReader.cs?rev=418902&r1=418901&r2=418902&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs Mon Jul  3 20:06:50
2006
@@ -89,8 +89,10 @@
 			System.Collections.IEnumerator i = reader.GetFieldNames(IndexReader.FieldOption.ALL).GetEnumerator();
 			while (i.MoveNext())
 			{
+                System.Collections.DictionaryEntry fi = (System.Collections.DictionaryEntry)
i.Current;
+
 				// update fieldToReader map
-				System.String field = (System.String) i.Current;
+				System.String field = fi.Key.ToString();
 				if (fieldToReader[field] == null)
 					fieldToReader[field] = reader;
 			}



Mime
View raw message