mirror of https://github.com/apache/lucene.git
LUCENE-4198: add format description for term impacts to javadocs (#115)
This commit is contained in:
parent
650cad19a2
commit
c33d211d2a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue