You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2012/08/20 13:47:53 UTC
svn commit: r1374981 -
/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java
Author: mikemccand
Date: Mon Aug 20 11:47:52 2012
New Revision: 1374981
URL: http://svn.apache.org/viewvc?rev=1374981&view=rev
Log:
LUCENE-3892: javadocs
Modified:
lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java
Modified: lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java?rev=1374981&r1=1374980&r2=1374981&view=diff
==============================================================================
--- lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java (original)
+++ lucene/dev/branches/pforcodec_3892/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java Mon Aug 20 11:47:52 2012
@@ -309,11 +309,11 @@ import org.apache.lucene.util.packed.Pac
* <ul>
* <li>PayFile(.pay): --> Header, <TermPayloads, TermOffsets?> <sup>TermCount</sup></li>
* <li>Header --> {@link CodecUtil#writeHeader CodecHeader}</li>
- * <li>TermPayloads --> <PackedPayLengthBlock, PayBlockLength, PayData> <sup>PackedPayBlockNum</sup>
- * <li>TermOffsets --> <PackedOffsetStartDeltaBlock?, PackedOffsetLengthBlock?> <sup>PackedPayBlockNum</sup>
+ * <li>TermPayloads --> <PackedPayLengthBlock, SumPayLength, PayData> <sup>PackedPayBlockNum</sup>
+ * <li>TermOffsets --> <PackedOffsetStartDeltaBlock, PackedOffsetLengthBlock> <sup>PackedPayBlockNum</sup>
* <li>PackedPayLengthBlock, PackedOffsetStartDeltaBlock, PackedOffsetLengthBlock --> {@link PackedInts PackedInts}</li>
- * <li>PayBlockLength --> {@link DataOutput#writeVInt VInt}</li>
- * <li>PayData --> {@link DataOutput#writeByte byte}<sup>PayBlockLength</sup></li>
+ * <li>SumPayLength --> {@link DataOutput#writeVInt VInt}</li>
+ * <li>PayData --> {@link DataOutput#writeByte byte}<sup>SumPayLength</sup></li>
* </ul>
* <p>Notes:</p>
* <ul>
@@ -324,7 +324,7 @@ import org.apache.lucene.util.packed.Pac
* While PackedStartDeltaBlock follows a same procedure as PackedDocDeltaBlock.</li>
* <li>PackedPayBlockNum is always equal to PackedPosBlockNum, for the same term. It is also synonym
* for PackedOffsetBlockNum.</li>
- * <li>PayBlockLength is the total length of payloads written within one block, should be the sum
+ * <li>SumPayLength is the total length of payloads written within one block, should be the sum
* of PayLengths in one packed block.</li>
* <li>PayLength in PackedPayLengthBlock is the length of each payload, associated with current
* position.</li>