mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
23 lines
455 B
Go
23 lines
455 B
Go
|
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{}
|
||
|
}
|