mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 21:09:06 +08:00
[skip ci] Add comment for IFVConfAdapter (#13200)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
937c048a6d
commit
d86a2b51a9
@ -143,6 +143,7 @@ type IVFConfAdapter struct {
|
|||||||
BaseConfAdapter
|
BaseConfAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CheckTrain returns true if the index can be built with the specific index parameters.
|
||||||
func (adapter *IVFConfAdapter) CheckTrain(params map[string]string) bool {
|
func (adapter *IVFConfAdapter) CheckTrain(params map[string]string) bool {
|
||||||
if !CheckIntByRange(params, NLIST, MinNList, MaxNList) {
|
if !CheckIntByRange(params, NLIST, MinNList, MaxNList) {
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user