mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
1f43be4a3c
issue: #29309 reopen pr : #29310 Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
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{}
|
|
}
|