Lucene90LiveDocsFormat
Lucene 9.0 live docs format
The .liv file is optional, and only exists when a segment contains deletions.
Although per-segment, this file is maintained exterior to compound segment files.
Deletions (.liv) --> IndexHeader,Generation,Bits
SegmentHeader -->IndexHeader
Bits -->
LongCount
Functions
Link copied to clipboard
Records all files in use by this SegmentCommitInfo into the files argument.
Link copied to clipboard
Read live docs bits.
Link copied to clipboard
open override fun writeLiveDocs(bits: Bits, dir: Directory, info: SegmentCommitInfo, newDelCount: Int, context: IOContext)
Persist live docs bits. Use SegmentCommitInfo.getNextDelGen to determine the generation of the deletes file you should write to.