Fix golint warnings in indexparamcheck (#9863)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/9848/head
Xiangyu Wang 2021-10-14 12:02:40 +08:00 committed by GitHub
parent 274dd03a10
commit 478daeaeea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -74,11 +74,14 @@ const (
// too large of n_trees takes much time, if there is real requirement, change this threshold.
MaxNTrees = 1024
DIM = "dim"
// DIM is a constant used to represent dimension
DIM = "dim"
// Metric is a constant used to metric type
Metric = "metric_type"
NLIST = "nlist"
NBITS = "nbits"
IVFM = "m"
// NLIST is a constant used to nlist in Index IVFxxx
NLIST = "nlist"
NBITS = "nbits"
IVFM = "m"
KNNG = "knng"
SearchLength = "search_length"