[skip ci] Add comment for setIndexParams (#13530)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-12-16 22:23:52 +08:00 committed by GitHub
parent cb51df5985
commit b132e481ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ func (info *indexInfo) setIndexPaths(paths []string) {
info.indexPaths = paths
}
// setIndexParams sets the params of index, such as indexType, metricType and so on
func (info *indexInfo) setIndexParams(params map[string]string) {
info.indexParams = params
}