mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
d7b2ffe5aa
issue: #34298 Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
23 lines
508 B
Go
23 lines
508 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(dataType schemapb.DataType, params map[string]string) error {
|
|
return nil
|
|
}
|
|
|
|
func (c *AUTOINDEXChecker) CheckValidDataType(indexType IndexType, field *schemapb.FieldSchema) error {
|
|
return nil
|
|
}
|
|
|
|
func newAUTOINDEXChecker() *AUTOINDEXChecker {
|
|
return &AUTOINDEXChecker{}
|
|
}
|