mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for IVFSQConfAdapter (#13081)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/13087/head
parent
c50ee1a2fc
commit
23e3a88a41
|
@ -238,6 +238,7 @@ type IVFSQConfAdapter struct {
|
|||
IVFConfAdapter
|
||||
}
|
||||
|
||||
// CheckTrain returns true if the index can be built with the specific index parameters.
|
||||
func (adapter *IVFSQConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
params[NBITS] = strconv.Itoa(DefaultNBits)
|
||||
return adapter.IVFConfAdapter.CheckTrain(params)
|
||||
|
|
Loading…
Reference in New Issue