mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip e2e]Add comments to conf adapter file (#14857)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
This commit is contained in:
parent
075f35108b
commit
46f8d2dff0
@ -355,6 +355,7 @@ type ANNOYConfAdapter struct {
|
||||
BaseConfAdapter
|
||||
}
|
||||
|
||||
// CheckTrain checks if an annoy index can be built with specific parameters.
|
||||
func (adapter *ANNOYConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
if !CheckIntByRange(params, NTREES, MinNTrees, MaxNTrees) {
|
||||
return false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user