mirror of
https://github.com/ZTatman/Nadir.git
synced 2026-11-22 12:57:58 +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
|
create index entries_embedding_idx
|
||||||
on public.entries
|
on public.entries
|
||||||
using ivfflat (embedding vector_cosine_ops)
|
using hnsw (embedding vector_cosine_ops);
|
||||||
with (lists = 100);
|
|
||||||
|
|
||||||
-- ------------------------------------------------------------
|
-- ------------------------------------------------------------
|
||||||
-- entry_analysis
|
-- entry_analysis
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue