chore(server)!: drop pgvecto.rs support (#28159)

drop pgvecto.rs
This commit is contained in:
Mert 2026-04-30 09:40:38 -04:00 committed by GitHub
parent c1051c7ed2
commit 97c62136b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 34 additions and 174 deletions

View file

@ -427,16 +427,6 @@ export function vectorIndexQuery({ vectorExtension, table, indexName, lists }: V
sampling_factor = 1024
$$)`;
}
case DatabaseExtension.Vectors: {
return `
CREATE INDEX IF NOT EXISTS ${indexName} ON ${table}
USING vectors (embedding vector_cos_ops) WITH (options = $$
optimizing.optimizing_threads = 4
[indexing.hnsw]
m = 16
ef_construction = 300
$$)`;
}
case DatabaseExtension.Vector: {
return `
CREATE INDEX IF NOT EXISTS ${indexName} ON ${table}