[skip ci]Add sealed segment document (#9307)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/9314/head
Xiaofan 2021-10-05 23:08:28 +08:00 committed by GitHub
parent 080fe3b032
commit c666d83ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# SegmentSealed
SegmentSealed has extra interface rather than segment_inferface:
1. `LoadIndex(loadIndexInfo)`: load the index. indexInfo containts
1. `FieldId`
2. `IndexParams`: index paramters in KV structure KV
3. `VecIndex`: vector index
2. `LoadFieldData(loadFieldDataInfo)`: Load column data, could be either scalar column or vector column
1. Note: indexes and vector data for the same column may coexist. Indexes are prioritized in search
3. `DropIndex(fieldId)`: drop and release exist index of specified field
4. `DropFieldData(fieldId)`: drop and release exist data for specified field
Search is executatble as long as all the column involved in the search are loaded.