lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 57 forks source link

Fix range of HNSW's M parameter #93

Closed grubdragon closed 1 year ago

dqii commented 1 year ago

Thanks Aryan!

Can these tests be added to hsnw_create instead of creating a separate test file? I updated the tests so that each file is more clear about what it's testing.

Can you only include M=1 and M=128? There's no need for redundant test cases, and M=4 (in range) is already tested in that file.