feat(qdrant): add Qdrant vector backend - #4458
Open
n0rmanc wants to merge 6 commits into
Open
Conversation
feat(qdrant): add Qdrant vector backend integration
* fix(qdrant): auto-migrate ACL schema on startup * fix(qdrant): preserve ACL migration state
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an optional Qdrant REST vector backend while preserving the existing
CollectionAdapter/ICollectioncontracts and upper-layer search APIs. The implementation uses the Python standard library and does not addqdrant-clientas a dependency.Human Involvement
Related Issue
None. This PR introduces the Qdrant backend described in the repository design/implementation plan.
Type of Change
Changes Made
urllib-based Qdrant REST transport with API-key support, bounded errors, and configurable timeout.qdrantbackend, added nested configuration, English/Chinese documentation, adapter documentation, and environment-gated live integration coverage.Contains/content grep semantics explicit and unsupported in Qdrant; filesystem grep fallback remains available.Testing
Focused verification:
tests/storage/test_qdrant_adapter.py: 45 passedgit diff --check: passedtests/storage tests/unitcollection remains red due known baseline failures (19 reproduce on localmain, with additional environment/order-dependent failures); these are documented as a repository-health boundary rather than Qdrant-specific failures.Checklist
Screenshots (if applicable)
Not applicable.
Additional Notes
feat/qdrant-integrationand is based on the repositorymainbranch.