Fix: PGVector table index creation issue

pull/19672/head
萱島 克英 1 year ago
parent c334af00f7
commit 39abf8d549

@ -62,7 +62,7 @@ CREATE TABLE IF NOT EXISTS {table_name} (
"""
SQL_CREATE_INDEX = """
CREATE INDEX IF NOT EXISTS hnsw_idx_{index_hash} ON {table_name}
CREATE INDEX IF NOT EXISTS embedding_cosine_v1_idx_{index_hash} ON {table_name}
USING hnsw (embedding vector_cosine_ops) WITH (m = 16, ef_construction = 64);
"""

Loading…
Cancel
Save