You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/service/common/vectorStore/pg/class.ts
+13-31
Original file line number
Diff line number
Diff line change
@@ -35,10 +35,9 @@ export class PgVectorCtrl {
35
35
awaitPgClient.query(
36
36
`CREATE INDEX CONCURRENTLY IF NOT EXISTS create_time_index ON ${DatasetVectorTableName} USING btree(createtime);`
37
37
);
38
-
// TODO: enable halfvector index
39
-
// await PgClient.query(
40
-
// `CREATE INDEX CONCURRENTLY IF NOT EXISTS halfvector_index ON ${DatasetVectorTableName} USING hnsw (halfvector halfvec_ip_ops) WITH (m = 32, ef_construction = 128);`
41
-
// );
38
+
awaitPgClient.query(
39
+
`CREATE INDEX CONCURRENTLY IF NOT EXISTS halfvector_index ON ${DatasetVectorTableName} USING hnsw (halfvector halfvec_ip_ops) WITH (m = 32, ef_construction = 128);`
0 commit comments