Skip to content

Commit

Permalink
Change ranges of HNSW parameters according to Knowhere
Browse files Browse the repository at this point in the history
Signed-off-by: yhmo <[email protected]>
  • Loading branch information
yhmo committed Nov 30, 2023
1 parent d0a56ec commit 9127d7d
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 9127d7d

Please sign in to comment.