Fix golint warnings in indexparamcheck (#9862)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
pull/9848/head
Xiangyu Wang 2021-10-14 11:30:39 +08:00 committed by GitHub
parent 72d3d470ba
commit 41bd393fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -30,10 +30,14 @@ const (
MaxNBits = 16
DefaultNBits = 8
// MinNList is the lower limit of nlist that used in Index IVFxxx
MinNList = 1
// MaxNList is the upper limit of nlist that used in Index IVFxxx
MaxNList = 65536
// DefaultMinDim is the smallest dimension supported in Milvus
DefaultMinDim = 1
// DefaultMaxDim is the largest dimension supported in Milvus
DefaultMaxDim = 32768
NgtMinEdgeSize = 1