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 2008/11/16 13:31:09 UTC

svn commit: r718012 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs

Author: digy
Date: Sun Nov 16 04:31:09 2008
New Revision: 718012

URL: http://svn.apache.org/viewvc?rev=718012&view=rev
Log:
FieldsReader.patch of LUCENENET-143 (NUnit test for Index/TestStressIndexing2)

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

Modified: incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Lucene.Net/Index/FieldsReader.cs?rev=718012&r1=718011&r2=718012&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs Sun Nov 16 04:31:09 2008
@@ -156,7 +156,7 @@
 		
 		public Document Doc(int n, FieldSelector fieldSelector)
 		{
-			indexStream.Seek(n * 8L);
+			indexStream.Seek((n + docStoreOffset) * 8L);
 			long position = indexStream.ReadLong();
 			fieldsStream.Seek(position);
 			
@@ -643,4 +643,4 @@
 			}
 		}
 	}
-}
\ No newline at end of file
+}