milvus/pkg/util/indexparamcheck/auto_index_checker.go

23 lines
455 B
Go
Raw Normal View History

package indexparamcheck
import (
"github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
)
// AUTOINDEXChecker checks if a TRIE index can be built.
type AUTOINDEXChecker struct {
baseChecker
}
func (c *AUTOINDEXChecker) CheckTrain(params map[string]string) error {
return nil
}
func (c *AUTOINDEXChecker) CheckValidDataType(dType schemapb.DataType) error {
return nil
}
func newAUTOINDEXChecker() *AUTOINDEXChecker {
return &AUTOINDEXChecker{}
}