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/10 18:28:24 UTC
svn commit: r834558 -
/incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CheckIndex.cs
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;
}