mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 08:18:46 +00:00
Added support for bigint, text, and varchar [skip ci]
This commit is contained in:
1 parent
f712847781
commit
07f2cbdee4
3 files changed
+23
-5
No files matched your search
@@ -293,6 +293,14 @@ CREATE OPERATOR CLASS vector_cosine_ops
|
||||
|
||||
-- hnsw attributes
|
||||
|
||||
CREATE OPERATOR CLASS vector_bigint_ops
|
||||
DEFAULT FOR TYPE bigint USING hnsw AS
|
||||
OPERATOR 2 = (bigint, bigint);
|
||||
|
||||
CREATE OPERATOR CLASS vector_integer_ops
|
||||
DEFAULT FOR TYPE integer USING hnsw AS
|
||||
OPERATOR 2 = (integer, integer);
|
||||
|
||||
CREATE OPERATOR CLASS vector_text_ops
|
||||
DEFAULT FOR TYPE text USING hnsw AS
|
||||
OPERATOR 2 = (text, text);
|
||||
Reference in new issue
Block a user