mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip ci]Add sealed segment document (#9307)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
This commit is contained in:
parent
080fe3b032
commit
c666d83ab3
13
docs/design_docs/segcore/segment_sealed.md
Normal file
13
docs/design_docs/segcore/segment_sealed.md
Normal 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.
|
||||||
Loading…
x
Reference in New Issue
Block a user