Fix golint warning in indexparamcheck (#9947)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/10000/head
Xiangyu Wang 2021-10-15 20:23:16 +08:00 committed by GitHub
parent f6cd090106
commit f8c52dd5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ const (
// METRICS is a set of all metrics types supported for float vector.
var METRICS = []string{L2, IP} // const
// BinIDMapMetrics is a set of all metric types supported for binary vector.
var BinIDMapMetrics = []string{HAMMING, JACCARD, TANIMOTO, SUBSTRUCTURE, SUPERSTRUCTURE} // const
var BinIvfMetrics = []string{HAMMING, JACCARD, TANIMOTO} // const
var supportDimPerSubQuantizer = []int{32, 28, 24, 20, 16, 12, 10, 8, 6, 4, 3, 2, 1} // const