You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by si...@apache.org on 2011/01/20 15:07:55 UTC

svn commit: r1061305 - /lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java

Author: simonw
Date: Thu Jan 20 14:07:54 2011
New Revision: 1061305

URL: http://svn.apache.org/viewvc?rev=1061305&view=rev
Log:
LUCENE-2723: fixed SegmentBulkPostingsEnum#jump(int) which missed to set payloadLength from skipper

Modified:
    lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java

Modified: lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java?rev=1061305&r1=1061304&r2=1061305&view=diff
==============================================================================
--- lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java (original)
+++ lucene/dev/branches/bulkpostings/lucene/src/java/org/apache/lucene/index/codecs/standard/StandardPostingsReader.java Thu Jan 20 14:07:54 2011
@@ -1126,6 +1126,7 @@ public class StandardPostingsReader exte
             if (positionDeltasReader != null) {
               positionDeltasReader.limit = 0;
               positionDeltasReader.pending = 0;
+              payloadLength = skipper.getPayloadLength();
               proxIn.seek(skipper.getProxPointer());
             }
           }