[skip ci] Fix typo in segment doc (#11666)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/11552/head
shaoyue 2021-11-11 19:39:00 +08:00 committed by GitHub
parent 8dcd639784
commit 3a3401dd3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ See design details `${milvus_root}/internal/core/src/segcore/SegmentInterface.h`
3. `get_active_count(Timestamp)`: entity count after filter by Timestamp
4. `chunk_data(FieldOffset, chunk_id) -> Span<T>`: return continuous data for specified column and chunk
5. `chunk_scalar_index(FieldOffset, chunk_id) -> const StructuredIndex<T>&`: return the inverted index of specified column and chunk
6. `num_chunk_index`: the number of indexes (including scalar and vector indexes) that have been created:
6. `num_chunk_index`: the number of indexes (including scalars and vector indexes) that have been created:
1. In growing segment, this value is the number of chunks for which the inverted index has been created. In these chunks, the index can be used to speed up the calculation.
2. SealedSegment must be 1
7. `debug()`: debug is used to print extra information while debugging

View File

@ -7,10 +7,10 @@ SegmentSealed has an extra interface rather than segment_inferface:
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
3. `DropIndex(fieldId)`: drop and release existed index of specified field
4. `DropFieldData(fieldId)`: drop and release existed data for specified field
Search is executable as long as all the column involved in the search are loaded.
Search is executable as long as all the columns involved in the search are loaded.
# SegmentSealedImpl internal data definition
1. `row_count_opt_`:
@ -19,7 +19,7 @@ Search is executable as long as all the column involved in the search are loaded
3. `xxx_ready_bitset_` & `system_ready_count_`
1. Used to record whether the corresponding column is loaded. Bitset corresponds to FieldOffset
2. Query is executable If and only if the following conditions are met:
1. system_ready_count_ == 2 which means all the system column RowId/Timestamp is loaded
1. system_ready_count_ == 2 which means all the system columns' RowId/Timestamp are loaded
2. The scalar columns involved in the query has been loaded
3. For the vector columns involved in the query, either the original data or the index is loaded
4. `scalar_indexings_`: store scalar index