Skip to content

Conversation

micha-f
Copy link

@micha-f micha-f commented Feb 4, 2025

Related Issues

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 micha-f requested a review from a team as a code owner February 4, 2025 09:39
@micha-f micha-f requested review from vblagoje and removed request for a team February 4, 2025 09:40
@CLAassistant
Copy link

CLAassistant commented Feb 4, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added integration:pgvector type:documentation Improvements or additions to documentation labels Feb 4, 2025
@micha-f micha-f changed the title feat: add array_contains and array_overlaps. feat: add array_contains and array_overlaps operators for pgvector metadata filtering. Feb 4, 2025
@vblagoje
Copy link
Member

@micha-f where is this Jsonb type coming from? I couldn't figure it out, would you please take a look at this undefined import.

@julian-risch
Copy link
Member

@micha-f @vblagoje please be aware of this larger refactoring of parts of the pgvector integration: #1547

@sjrl sjrl added the information-needed Information needed from the user label Aug 25, 2025
@julian-risch
Copy link
Member

I am closing this PR due to inactivity but feel free to re-open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
information-needed Information needed from the user integration:pgvector type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants