mirror of
https://github.com/ZTatman/Nadir.git
synced 2026-11-21 04:17:59 +00:00
Switch embedding index to HNSW
This commit is contained in:
parent
dfb30e1e52
commit
3ecb95caea
1 changed files with 1 additions and 2 deletions
|
|
@ -47,8 +47,7 @@ create index entries_user_status_created_at_idx
|
|||
|
||||
create index entries_embedding_idx
|
||||
on public.entries
|
||||
using ivfflat (embedding vector_cosine_ops)
|
||||
with (lists = 100);
|
||||
using hnsw (embedding vector_cosine_ops);
|
||||
|
||||
-- ------------------------------------------------------------
|
||||
-- entry_analysis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue