fix: Change ranges of HNSW parameters according to Knowhere (#28875)

fix: https://github.com/milvus-io/milvus/issues/28860

Signed-off-by: yhmo <yihua.mo@zilliz.com>
This commit is contained in:
groot 2023-12-05 16:20:42 +08:00 committed by GitHub
parent 89b965e2b1
commit ad1daebc8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,10 +20,10 @@ const (
// DefaultMaxDim is the largest dimension supported in Milvus
DefaultMaxDim = 32768
HNSWMinEfConstruction = 8
HNSWMaxEfConstruction = 512
HNSWMinM = 4
HNSWMaxM = 64
HNSWMinEfConstruction = 1
HNSWMaxEfConstruction = 2147483647
HNSWMinM = 1
HNSWMaxM = 2048
// DIM is a constant used to represent dimension
DIM = common.DimKey