Apache Lucene open-source search software
LUCENE-4198: add format description for term impacts to javadocs (#115)
Tomoko Uchidac33d211d2aa3
diff --git a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90PostingsFormat.java b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90PostingsFormat.javaindex e073a2832a9..77dc6626cc3 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90PostingsFormat.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90PostingsFormat.java@@ -172,10 +172,13 @@ import org.apache.lucene.util.packed.PackedInts;* <li>SkipLevel --> <SkipDatum> <sup>TrimmedDocFreq/(PackedBlockSize^(Level +* 1))</sup>* <li>SkipDatum --> DocSkip, DocFPSkip, <PosFPSkip, PosBlockOffset, PayLength?,- * PayFPSkip?>?, SkipChildLevelPointer?+ * PayFPSkip?>?, ImpactLength, <CompetitiveFreqDelta, CompetitiveNormDelta?>+ * <sup>ImpactCount</sup>, SkipChildLevelPointer?* <li>PackedDocDeltaBlock, PackedFreqBlock --> {@link PackedInts PackedInts}- * <li>DocDelta, Freq, DocSkip, DocFPSkip, PosFPSkip, PosBlockOffset, PayByteUpto, PayFPSkip- * --> {@link DataOutput#writeVInt VInt}+ * <li>DocDelta, Freq, DocSkip, DocFPSkip, PosFPSkip, PosBlockOffset, PayByteUpto,+ * PayFPSkip, ImpactLength, CompetitiveFreqDelta --> {@link DataOutput#writeVInt+ * VInt}+ * <li>CompetitiveNormDelta --> {@link DataOutput#writeZLong ZLong}* <li>SkipChildLevelPointer --> {@link DataOutput#writeVLong VLong}* <li>Footer --> {@link CodecUtil#writeFooter CodecFooter}* </ul>@@ -235,6 +238,10 @@ import org.apache.lucene.util.packed.PackedInts;* and stored as a difference sequence.* <li>PayByteUpto indicates the start offset of the current payload. It is equivalent to* the sum of the payload lengths in the current block up to PosBlockOffset+ * <li>ImpactLength is the total length of CompetitiveFreqDelta and CompetitiveNormDelta+ * pairs. CompetitiveFreqDelta and CompetitiveNormDelta are used to safely skip score+ * calculation for uncompetitive documents; See {@link+ * org.apache.lucene.codecs.CompetitiveImpactAccumulator} for more details.* </ul>* </dl>*@@ -299,7 +306,7 @@ import org.apache.lucene.util.packed.PackedInts;* positions. Some payloads and offsets will be separated out into .pos file, for performance* reasons.* <ul>- * <li>PayFile(.pay): --> Header, <TermPayloads, TermOffsets?>+ * <li>PayFile(.pay): --> Header, <TermPayloads?, TermOffsets?>* <sup>TermCount</sup>, Footer* <li>Header --> {@link CodecUtil#writeIndexHeader IndexHeader}* <li>TermPayloads --> <PackedPayLengthBlock, SumPayLength, PayData>