Add Qdrant vector index with authorization-filtered search (R01, #20) #65
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/rag-rust!65
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/20-qdrant-index"
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?
Closes #20 (R01).
What
crates/retrieval:VectorIndexcontract (upsert,delete_chunks,delete_version,search), an in-memory reference index and one shared suiterun_contract, behind featuretest-support.crates/storage-qdrant(qdrant-client=1.20.0, gRPC, default features off):chunks_<encoded profile>_<dim>with an atomically switched aliaschunks_current;AuthorizedSearchScope, mirroringpolicy.rsandlexical.rs;http,httpsotherwise, no URL userinfo, API key redacted and marked sensitive.b03a6461…df52c, fails closed before extracting), binds it to 127.0.0.1, runsscripts/test-qdrant.sh, and stops it in anif: always()step. The gnu build needs glibc 2.38, but the job image has 2.36.docs/operations/vector-index.md; crypto inventory entry updated;compose.yamlQdrant bumped to v1.20.0.Coverage
Workspace line coverage 94.84% (minimum 80%);
storage-qdrant97.0% (scripts/coverage.sh rustwith the Postgres and Qdrant suites).Review
Dual-pass: Ponytail (no Must fix) and an Opus correctness review. Its Critical (CI binary) and Important (inventory, profile-binding ruling) findings are fixed. The Ponytail re-check of the fixes is clean. Live suites (14 behavior + 1 shared contract) pass on Qdrant v1.20.0.
Known limits (see the guide)
payload_ofcan make one. R02/#23 rechecks.Checks not run locally
cargo audit(local 0.21.2 cannot read the advisory DB; CI's 0.22.2 is the check). The first CI run is the first proof of the musl binary in the job container; it was run under amd64 emulation locally.🤖 Generated with Claude Code