docs/design_docs/segcore/segment_sealed.md
SegmentSealed has an extra interface rather than SegmentInterface:
LoadIndex(loadIndexInfo): load the index. indexInfo contains:
FieldIdIndexParams: index parameters in KV structure KVVecIndex: vector indexLoadFieldData(loadFieldDataInfo): load column data, could be either scalar column or vector column
DropIndex(fieldId): drop and release an existing index of a specified fieldSearch is executable as long as all the columns involved in the search are loaded.
row_count_opt_:
xxx_ready_bitset_ & system_ready_count_
scalar_indexings_: store scalar index
primary_key_index_: store index for pk column
field_datas_: store original data
aligned_vector<char> format guarantees int/float data are alignedSealedIndexingRecord vecindexs_: store vector index
row_ids_/timestamps_: RowId/Timestamp data
TimestampIndex: Index for Timestamp column
schema: schema
update_row_count: Used to update the row_count field.mask_with_timestamps: Use Timestamp column to update search bitmask, used to support Time Travel function.