mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-02 08:55:56 +08:00
15 lines
363 B
Go
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{}
|
|
}
|