Vector Search in open-source MySQL

2 points | by deesix 2 hours ago

1 comments

  • deesix 2 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;