mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +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
|
BaseConfAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CheckTrain checks if a hnsw index can be built with specific parameters.
|
||||||
func (adapter *HNSWConfAdapter) CheckTrain(params map[string]string) bool {
|
func (adapter *HNSWConfAdapter) CheckTrain(params map[string]string) bool {
|
||||||
if !CheckIntByRange(params, EFConstruction, HNSWMinEfConstruction, HNSWMaxEfConstruction) {
|
if !CheckIntByRange(params, EFConstruction, HNSWMinEfConstruction, HNSWMaxEfConstruction) {
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user