mirror of
https://github.com/langchain-ai/langchain-postgres.git
synced 2026-07-16 01:33:18 -04:00
[PR #217] [MERGED] Fixed support for VectorStore search filters with multiple $like/$ilike/$in/$nin on same column #240
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-postgres/pull/217
Author: @CXmartins
Created: 6/13/2025
Status: ✅ Merged
Merged: 6/23/2025
Merged by: @averikitsch
Base:
main← Head:main📝 Commits (4)
bd53eccadded new test case997a310Fixed async_vectostore filter function2e292f6Added wildcards to the testcase value6bb304bmoved comment to original position📊 Changes
2 files changed (+38 additions, -31 deletions)
View changed files
📝
langchain_postgres/v2/async_vectorstore.py(+32 -30)📝
tests/unit_tests/fixtures/metadata_filtering_data.py(+6 -1)📄 Description
Fixed issue #216.
Pull request adds a filter test case that was failing and the fix for internal function _handle_field_filter.
The function fix is to add an unique identifier to the column names of operator in, nin, like and ilike
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.