Skip to content

Commit 8dbf70b

Browse files
committed
fix pgvecto_rs: fix op names
1 parent e6172dd commit 8dbf70b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

engine/clients/pgvector/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
}
1414

1515
DISTANCE_MAPPING_CREATE_RUST = {
16-
Distance.L2: "l2_ops",
17-
Distance.COSINE: "cosine_ops",
18-
Distance.DOT: "dot_ops",
16+
Distance.L2: "vector_l2_ops",
17+
Distance.COSINE: "vector_dot_ops",
18+
Distance.DOT: "vector_cos_ops",
1919
}
2020

2121
DISTANCE_MAPPING_SEARCH = {

0 commit comments

Comments
 (0)