lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r718012 - /incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs
Date Sun, 16 Nov 2008 12:31:09 GMT
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
+}



Mime
View raw message