milvus/pkg/util/indexparamcheck/auto_index_checker.go
cai.zhang 1f43be4a3c
enhance: Support auto index for scalar index (#31255)
issue: #29309 
reopen pr : #29310

Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2024-03-21 10:37:08 +08:00

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{}
}