mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comments to conf adapter file (#14857)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>pull/14630/head
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…
Reference in New Issue