Skip to content

Conversation

@sobychacko
Copy link
Contributor

Add string-based filter deletion alongside the Filter.Expression-based deletion for MongoDB Atlas vector store, providing consistent deletion capabilities with other vector store implementations.

Key changes:

  • Add delete(Filter.Expression) implementation for MongoDB Atlas store
  • Leverage existing MongoDBAtlasFilterExpressionConverter for filter translation
  • Use MongoTemplate's native query capabilities for deletion
  • Add comprehensive integration tests for filter deletion
  • Support both simple and complex filter expressions

This maintains consistency with other vector store implementations while utilizing MongoDB-specific query capabilities for efficient metadata-based deletion.

Add string-based filter deletion alongside the Filter.Expression-based deletion
for MongoDB Atlas vector store, providing consistent deletion capabilities with
other vector store implementations.

Key changes:
- Add delete(Filter.Expression) implementation for MongoDB Atlas store
- Leverage existing MongoDBAtlasFilterExpressionConverter for filter translation
- Use MongoTemplate's native query capabilities for deletion
- Add comprehensive integration tests for filter deletion
- Support both simple and complex filter expressions

This maintains consistency with other vector store implementations while
utilizing MongoDB-specific query capabilities for efficient metadata-based deletion.
@sobychacko sobychacko added this to the 1.0.0-M6 milestone Jan 27, 2025
@markpollack
Copy link
Member

merged in ef0bade

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