File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Get the nearest neighbors
4343Add an approximate index
4444
4545``` lisp
46- (query (:create-index 'my-index :on 'items :using hnsw :fields embedding\ vector_l2_ops))
46+ (query (:create-index 'my-index :on 'items :using hnsw :fields " embedding vector_l2_ops" ))
4747;; or
4848(query "CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 100)")
4949```
Original file line number Diff line number Diff line change 1515(doquery (:limit (:order-by (:select ' id ' embedding :from ' items) (:<-> ' embedding " [1,1,1]" )) 5 ) (id embedding)
1616 (format t " ~A : ~A~% " id embedding))
1717
18- (query (:create-index ' my-index :on ' items :using hnsw :fields embedding\ vector_l2_ops))
18+ (query (:create-index ' my-index :on ' items :using hnsw :fields " embedding vector_l2_ops" ))
You can’t perform that action at this time.
0 commit comments