milvus/pkg/util/indexparamcheck/bin_flat_checker.go
Jiquan Long 7be7e6f360
Refactor check logic of index parameters (#23856)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-05-06 10:40:39 +08:00

15 lines
363 B
Go

package indexparamcheck
type binFlatChecker struct {
binaryVectorBaseChecker
}
// CheckTrain checks if a binary flat index can be built with the specific parameters.
func (c *binFlatChecker) CheckTrain(params map[string]string) error {
return c.binaryVectorBaseChecker.CheckTrain(params)
}
func newBinFlatChecker() IndexChecker {
return &binFlatChecker{}
}