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