diff --git a/internal/util/indexparamcheck/conf_adapter.go b/internal/util/indexparamcheck/conf_adapter.go index 6bb7a2d6c164bc55178219cc0c095d2f73148497..35533bc2b9630410eb101d5319a85da42b5d772d 100644 --- a/internal/util/indexparamcheck/conf_adapter.go +++ b/internal/util/indexparamcheck/conf_adapter.go @@ -124,6 +124,7 @@ type ConfAdapter interface { type BaseConfAdapter struct { } +// CheckTrain check whether the params contains supported metrics types func (adapter *BaseConfAdapter) CheckTrain(params map[string]string) bool { // dimension is specified when create collection //if !CheckIntByRange(params, DIM, DefaultMinDim, DefaultMaxDim) {