Skip to content

feat(cli): qdrant vector engine async connection pooling, hybrid lexical-dense search & payload quantization research #313

Closed

Description

@dan-petty

Context & Rationale

RAG knowledge base search uses basic synchronous vector inserts and pure dense cosine similarity, which can miss exact keyword symbol matches and consumes unnecessary workstation RAM.

Scope & Deliverables

  • Context & Rationale*: RAG knowledge base search uses basic synchronous vector inserts and pure dense cosine similarity, which can miss exact keyword symbol matches and consumes unnecessary workstation RAM.
  • Deep Integration & Functional Extension*: Asynchronous Qdrant client connection pooling; hybrid search combining dense neural vector embeddings with sparse BM25 lexical indices; memory-mapped on-disk scalar/product payload quantization; background collection snapshotting and hot-reload during repository re-indexing.
  • Code Optimization & Performance Acceleration*: Slash vector retrieval latency by 60%+ through async batched queries; reduce vector index memory footprint by up to 75% via scalar quantization; eliminate blocking during repository re-indexing.
  • Refactoring Potential & Legacy Elimination*: Refactor src/devops_cli/ai/rag/ to decouple embedding generation, vector storage, and query filtering into distinct pipeline stages; replace procedural file chunking loops with functional generator pipelines; remove legacy file staging.

Strategic Alignment

  • Milestone: v0.2.22 (Deep Subsystem Integration, Architectural Optimization & Extensible Refactoring)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.22 milestone on Sep 19, 2026
  2. added
    type/feature
    scope/cli
    priority/p1-high
    on Sep 19, 2026
  3. dan-petty commented on Sep 21, 2026

    @dan-petty
    OwnerAuthor

    Closed by #357, merged into release/v0.2.22.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions