mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comments to conf adapter file (#15015)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>pull/15024/merge
parent
6d526fbb3d
commit
e108a64135
|
@ -431,6 +431,7 @@ type RHNSWSQConfAdapter struct {
|
|||
BaseConfAdapter
|
||||
}
|
||||
|
||||
// CheckTrain checks if a rhnsw sq index can be built with specific parameters.
|
||||
func (adapter *RHNSWSQConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
if !CheckIntByRange(params, EFConstruction, HNSWMinEfConstruction, HNSWMaxEfConstruction) {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue