Skip to content

Conversation

@sobychacko
Copy link
Contributor

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.

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]>
@sobychacko sobychacko added this to the 1.0.0-M6 milestone Jan 28, 2025
@markpollack
Copy link
Member

merged in bca65de

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants