mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for setIndexInfo (#14881)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/14889/head
parent
c94c9d3a6e
commit
8b9ce5780d
|
@ -238,6 +238,7 @@ func (loader *indexLoader) getIndexInfo(collectionID UniqueID, segment *Segment)
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// setIndexInfo sets indexInfo for segment
|
||||||
func (loader *indexLoader) setIndexInfo(segment *Segment, info *indexInfo) {
|
func (loader *indexLoader) setIndexInfo(segment *Segment, info *indexInfo) {
|
||||||
segment.setEnableIndex(true)
|
segment.setEnableIndex(true)
|
||||||
segment.setIndexInfo(info.fieldID, info)
|
segment.setIndexInfo(info.fieldID, info)
|
||||||
|
|
Loading…
Reference in New Issue