Skip to content

Commit

Permalink
Fix SCANN index type used ivf_flat value (#597)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Oct 16, 2023
1 parent d8759a6 commit 647ef31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion entity/genidx/genidx.go
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ func main() {
},
{
IdxName: "SCANN",
IdxType: entity.IvfFlat,
IdxType: entity.SCANN,
ConstructParams: []idxParam{
{
Name: "nlist",
Expand Down
4 changes: 2 additions & 2 deletions entity/indexes_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions entity/indexes_gen_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion entity/indexes_search_param_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 647ef31

Please sign in to comment.