Skip to content

Add Sparse and Hybrid retrieval modes to Qdrant vector store#6647

Open
janskola wants to merge 1 commit into
FlowiseAI:mainfrom
janskola:feat/qdrant-hybrid-search
Open

Add Sparse and Hybrid retrieval modes to Qdrant vector store#6647
janskola wants to merge 1 commit into
FlowiseAI:mainfrom
janskola:feat/qdrant-hybrid-search

Conversation

@janskola

@janskola janskola commented Jul 21, 2026

Copy link
Copy Markdown

Add Dense/Sparse/Hybrid retrieval modes to the Qdrant vector store node,
using Qdrant's native BM25 sparse inference and RRF/DBSF fusion. Dense mode
remains fully backward-compatible when the new fields are left at defaults.

Retrieval modes:

  • New "Retrieval Mode" field (Dense/Sparse/Hybrid, default Dense), plus
    Dense/Sparse Vector Name, Sparse Inference Model, and Fusion Method fields
  • Sparse mode upserts directly via client.upsert(), skipping embeddings
    entirely
  • Collection creation auto-configures named dense + sparse vectors in
    Sparse/Hybrid mode

Validation and error handling:

  • Rejects unnamed dense vectors in Hybrid/named-Dense mode, and missing
    sparse vectors, with actionable error messages instead of silent
    fallback
  • init() (query-only path) no longer auto-creates a missing collection in
    Sparse/Hybrid/named-Dense mode
  • sparseInferenceModel throws on any value other than qdrant/bm25 instead
    of being silently ignored

Testing:

  • 61 unit tests covering mode-specific schema, collection creation/
    validation, upsert wiring, query building, and response mapping
  • Live-verified against a real Qdrant server: dense/sparse/hybrid queries,
    batch upsert, metadata filtering, Record Manager compatibility, and
    RRF/DBSF fusion

Documentation
FlowiseAI/FlowiseDocs#223

Closes #3007

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

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.

[FEATURE] Qdrant Hybrid Search

1 participant