-
Notifications
You must be signed in to change notification settings - Fork 966
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add filter-based deletion to Redis vector store
Add string-based filter deletion alongside the Filter.Expression-based deletion for Redis vector store, providing consistent deletion capabilities with other vector store implementations. Key changes: - Add delete(Filter.Expression) implementation using Redis FT.SEARCH and JSON.DEL - Configure metadata fields properly to support numeric and tag operations - Support both simple and complex filter expressions - Handle Redis-specific JSON string responses in tests - Add comprehensive integration tests for filter deletion cases This maintains consistency with other vector store implementations while utilizing Redis Search capabilities for efficient metadata-based deletion. Signed-off-by: Soby Chacko <[email protected]>
- Loading branch information
1 parent
c5dd768
commit 886a5e1
Showing
2 changed files
with
134 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters