haystack-core-integrations icon indicating copy to clipboard operation
haystack-core-integrations copied to clipboard

feat: add array_contains and array_overlaps operators for pgvector metadata filtering.

Open micha-f opened this issue 10 months ago • 3 comments

Related Issues

  • proposal for #1351

Proposed Changes:

Add array_contains (all items must be present in array) and array_overlaps (at least on item must be present in array) operators for PGVector metadata filtering.

How did you test it?

Since filterable_docs did not contain arrays in the document metadata, I added tests with custom documents containing arrays of tags in their metadata.

Notes for the reviewer

Checklist

micha-f avatar Feb 04 '25 09:02 micha-f