Added support for bigint, text, and varchar [skip ci]

This commit is contained in:
Andrew Kane
2024-02-13 21:07:39 -08:00
parent f712847781
commit 07f2cbdee4
3 changed files with 23 additions and 5 deletions

View File

@@ -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);