From 328def8b97325be50aa5ae2cc4e30711b7b57fee Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Sat, 18 Aug 2012 17:59:17 +0000 Subject: [PATCH] LUCENE-3892: javadocs git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1374620 13f79535-47bb-0310-9956-ffa450edef68 --- .../codecs/block/BlockPostingsFormat.java | 43 ++++++++++++++----- .../codecs/block/BlockPostingsReader.java | 4 ++ .../codecs/block/BlockPostingsWriter.java | 4 ++ 3 files changed, 41 insertions(+), 10 deletions(-) diff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java index c6a08d798c7..a14a630f4e1 100644 --- a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java +++ b/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java @@ -129,14 +129,14 @@ import org.apache.lucene.util.packed.PackedInts; * <PosFPDelta, PosVIntBlockFPDelta?, PayFPDelta?>?, * SkipFPDelta?>EntryCount *
  • FieldSummary --> NumFields, <FieldNumber, NumTerms, RootCodeLength, - * ByteRootCodeLength, SumDocFreq, DocCount> + * {@link DataOutput#writeByte byte}RootCodeLength, SumDocFreq, DocCount> * NumFields
  • *
  • Header, PostingsHeader --> {@link CodecUtil#writeHeader CodecHeader}
  • *
  • DirOffset --> {@link DataOutput#writeLong Uint64}
  • *
  • PackedBlockSize, EntryCount, SuffixLength, StatsLength, DocFreq, MetaLength, - * PosVIntBlockFPDelta , SkipFPDelta, NumFields, FieldNumber, RootCodeLength, DocCount --> + * PosVIntBlockFPDelta, SkipFPDelta, NumFields, FieldNumber, RootCodeLength, DocCount --> * {@link DataOutput#writeVInt VInt}
  • - *
  • TotalTermFreq, DocFPDelta, PosFPDelta, NumTerms, SumTotalTermFreq, SumDocFreq --> + *
  • TotalTermFreq, DocFPDelta, PosFPDelta, PayFPDelta, NumTerms, SumTotalTermFreq, SumDocFreq --> * {@link DataOutput#writeVLong VLong}
  • * *

    Notes:

    @@ -203,7 +203,7 @@ import org.apache.lucene.util.packed.PackedInts; *
  • PackedBlock --> PackedDocDeltaBlock, PackedFreqBlock? *
  • VIntBlock --> <DocDelta[, Freq?]>DocFreq-PackedBlockSize*PackedDocBlockNum *
  • SkipData --> <<SkipLevelLength, SkipLevel> - * NumSkipLevels-1, SkipLevel> <SkipDatum?>
  • + * NumSkipLevels-1, SkipLevel>, SkipDatum? *
  • SkipLevel --> <SkipDatum> TrimmedDocFreq/(PackedBlockSize^(Level + 1))
  • *
  • SkipDatum --> DocSkip, DocFPSkip, <PosFPSkip, PosBlockOffset, PayLength?, * OffsetStart?, PayFPSkip?>?, SkipChildLevelPointer?
  • @@ -267,11 +267,11 @@ import org.apache.lucene.util.packed.PackedInts; *

    The .pos file contains the lists of positions that each term occurs at within documents. It also * sometimes stores part of payloads and offsets for speedup.

    *