lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r567907 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs
Date Tue, 21 Aug 2007 02:09:42 GMT
Author: aroush
Date: Mon Aug 20 19:09:42 2007
New Revision: 567907

URL: http://svn.apache.org/viewvc?rev=567907&view=rev
Log:
Fix: LUCENENET-70 "TestParallelReader.TestDocument fails because of bug in "ParallelReader.Document(int
n, FieldSelector fieldSelector)" method"

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=567907&r1=567906&r2=567907&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 Aug 20 19:09:42
2007
@@ -166,7 +166,7 @@
 					System.Collections.IEnumerator it = ((System.Collections.ICollection) readerToFields[reader]).GetEnumerator();
 					while (it.MoveNext())
 					{
-						if (fieldSelector.Accept((System.String) it.Current) != FieldSelectorResult.NO_LOAD)
+						if (fieldSelector.Accept((System.String)((System.Collections.DictionaryEntry)it.Current).Value)
!= FieldSelectorResult.NO_LOAD)
 						{
 							include = true;
 							break;



Mime
View raw message