Added support for inline filtering with HNSW

This commit is contained in:
Andrew Kane committed 2024-02-05 21:40:20 -08:00
1 parent 51df640961
commit a8fdffc9a2
12 files changed
+341 -39

No files matched your search

+6
View File
@@ -290,3 +290,9 @@ CREATE OPERATOR CLASS vector_cosine_ops
OPERATOR 1 <=> (vector, vector) FOR ORDER BY float_ops,
FUNCTION 1 vector_negative_inner_product(vector, vector),
FUNCTION 2 vector_norm(vector);
-- hnsw attributes
CREATE OPERATOR CLASS vector_integer_ops
DEFAULT FOR TYPE integer USING hnsw AS
OPERATOR 2 = (integer, integer);