Vector Search in open-source MySQL

3 pointsposted 8 hours ago
by deesix

1 Comments

deesix

8 hours ago

Code to create HNSW index:

CREATE TABLE demo_vectors ( id INT PRIMARY KEY, embedding SVECTOR(3) NOT NULL, INDEX idx_embedding (embedding hnsw_l2) USING EXTENDED(hnsw) ) ENGINE=InnoDB;