mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comments to conf adapter file (#14760)
Signed-off-by: jingkl <jingjing.jia@zilliz.com>pull/14758/merge
parent
251d24c10d
commit
0e4df25e36
|
@ -298,6 +298,7 @@ func newBinIVFConfAdapter() *BinIVFConfAdapter {
|
|||
type NSGConfAdapter struct {
|
||||
}
|
||||
|
||||
// CheckTrain checks if a nsg index can be built with specific parameters.
|
||||
func (adapter *NSGConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
if !CheckStrByValues(params, Metric, METRICS) {
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue