Skip to content

Commit

Permalink
fix: Change ranges of HNSW parameters according to Knowhere (milvus-i…
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmo authored Dec 5, 2023
1 parent 0f0a529 commit 1f8c1af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/util/indexparamcheck/constraints.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f8c1af

Please sign in to comment.