From 41bd393fe644c7e71e9aa20b27a0b733d49dba50 Mon Sep 17 00:00:00 2001 From: Xiangyu Wang Date: Thu, 14 Oct 2021 11:30:39 +0800 Subject: [PATCH] Fix golint warnings in indexparamcheck (#9862) Signed-off-by: Xiangyu Wang --- internal/util/indexparamcheck/conf_adapter.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/util/indexparamcheck/conf_adapter.go b/internal/util/indexparamcheck/conf_adapter.go index 657e07776e..08466ac4c4 100644 --- a/internal/util/indexparamcheck/conf_adapter.go +++ b/internal/util/indexparamcheck/conf_adapter.go @@ -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