Skip to content

Qdrant Vector Database Management in VS Code

Qdrant is a vector database and similarity search engine designed for production AI workloads. Highlights include:

  • High-performance vector search: HNSW indexing tuned for low-latency nearest-neighbour retrieval
  • Rich payload filtering: Combine vector similarity with structured filters on metadata
  • Named multi-vectors: Multiple embeddings per point (e.g. title and body) in a single collection
  • Quantization options: Scalar, product, and binary quantization for memory-efficient deployments
  • Cloud or self-hosted: Run locally with Docker, on-prem, or via Qdrant Cloud

Qdrant is commonly used for semantic search, retrieval-augmented generation (RAG), recommendation systems, and any workload that needs to find “things similar to this” across millions of high-dimensional embeddings.

To connect to Qdrant in DBCode:

  1. Open the DBCode Extension: Launch Visual Studio Code and open the DBCode extension.
  2. Add a New Connection: Click on the “Add Connection” icon.
  3. Complete the connection form: Select Qdrant as the database type and enter:
    • Host address (default port: 6333)
    • API key (for Qdrant Cloud or any auth-protected instance)
    • Optional SSL/TLS configuration
    • Optional SSH tunnel
  4. Connect: Click save to connect to your Qdrant instance.
  5. Start exploring: Browse your collections, inspect points, and run vector searches.

For detailed instructions, refer to the Connect article.

DBCode brings the same browse-and-search workflow you already use for SQL and document databases to Qdrant:

  • Collection browsing: Navigate collections, see point counts, and inspect payload shape
  • Vector cell rendering: Vector columns are summarised inline (e.g. [float32×384]) and expandable on click
  • Vector search: Run nearest-neighbour searches with top-K, filters, and a _score column
  • Multi-vector support: When a collection has named multi-vectors, pick which vector to search
  • Search by text: Configure a Qdrant-managed embedder, an Ollama model, or DBCode AI to embed your query text on the fly
  • JS shell editor: Drop into a JavaScript editor and run the official Qdrant SDK directly (client.search(...), client.scroll(...), etc.)

By using Qdrant with DBCode, you get a unified workspace for traditional and vector data without leaving VS Code.

For more information about Qdrant, check out Qdrant.