[skip e2e] Add comment for BinIVFConfAdapter.CheckTrain (#14260)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14308/head
Jiquan Long 2021-12-27 14:22:33 +08:00 committed by GitHub
parent 6befdf65c4
commit 72d1552d83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -271,6 +271,7 @@ func newBinIDMAPConfAdapter() *BinIDMAPConfAdapter {
type BinIVFConfAdapter struct {
}
// CheckTrain checks if a binary ivf index can be built with specific parameters.
func (adapter *BinIVFConfAdapter) CheckTrain(params map[string]string) bool {
// dimension is specified when create collection
//if !CheckIntByRange(params, DIM, DefaultMinDim, DefaultMaxDim) {