mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip e2e]Add comments to conf adapter file (#14762)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>
This commit is contained in:
parent
2dad746a7e
commit
44c53b10da
@ -334,6 +334,7 @@ type HNSWConfAdapter struct {
|
||||
BaseConfAdapter
|
||||
}
|
||||
|
||||
// CheckTrain checks if a hnsw index can be built with specific parameters.
|
||||
func (adapter *HNSWConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
if !CheckIntByRange(params, EFConstruction, HNSWMinEfConstruction, HNSWMaxEfConstruction) {
|
||||
return false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user