lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r834558 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs
Date Tue, 10 Nov 2009 17:28:24 GMT
Author: digy
Date: Tue Nov 10 17:28:24 2009
New Revision: 834558

URL: http://svn.apache.org/viewvc?rev=834558&view=rev
Log:
LUCENENET-213 Lucene.Net/Index/CheckIndex.cs bug

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

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/CheckIndex.cs?rev=834558&r1=834557&r2=834558&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs Tue Nov 10 17:28:24 2009
@@ -664,7 +664,7 @@
 				byte[] b = new byte[reader.MaxDoc()];
 				while (it.MoveNext())
 				{
-					System.String fieldName = (System.String) it.Current;
+					System.String fieldName = (System.String) ((System.Collections.DictionaryEntry) it.Current).Value;
 					reader.Norms(fieldName, b, 0);
 					++status.totFields;
 				}



Mime
View raw message