write

open override fun write(dir: Directory, si: SegmentInfo, context: IOContext)

Packs the provided segment's files into a compound format. All files referenced by the provided SegmentInfo must have CodecUtil.writeIndexHeader and .