Evaluate hybrid search for legal question-answering using Qdrant & BM25/mxbai
UnknownUnknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-qdrant(Query Points)
Nodes used (9)
- Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Filter
n8n-nodes-base.filter - Qdrant
n8n-nodes-qdrant.qdrant - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate
What it does
Evaluate Hybrid Search on Legal Dataset This is the second part of "Hybrid Search with Qdrant & n8n, Legal AI." The first part, "Indexing", covers preparing and uploading the dataset to Qdrant. Overview This pipeline demonstrates how to perform Hybrid Search on a Qdrant collection using questions and text chunks (containing answers) from the LegalQAEval dataset (isaacus). On a small subset of questions, it shows: - How to set up hybrid retrieval in Qdrant with: - BM25-based keyword retrieval; - mxbai-embed-large-v1 semantic retrieval; - Reciprocal Rank Fusion (RRF), a simple zero-shot fusion of the two searches; - How to run a basic evaluation: - Calculate hits@1 — the percentage of evaluation questions where the top-1 retrieved text chunk contains the correct answer After running this pipeline, you will have a quality estimate of a simple hybrid retrieval setup. From there, you can reuse Qdrant’s Query Points node to build a legal RAG chatbot. Embedding Inference - By default, this pipeline uses Qdrant Cloud Inference to convert questions to embeddings. - You can also use an external embedding provider (e.g. OpenAI). - In that case, minimally update the pipeline, similar to the adjustments showed in Part 1: Indexing. Prerequisites - Completed Part 1 pipeline, "Hybrid Search with Qdrant & n8n, Legal AI: Indexing", and the collection created in it; - All the requirements of Part 1 pipeline; Hybrid Search The example here is a basic hybrid query. You can extend/enhance it with: - Reranking strategies; - Different fusion techniques; - Score boosting based on metadata; - ... More details: Hybrid Queries in Qdrant. P.S. - To ask retrieval in Qdrant-related questions, join the Qdrant Discord. - Star Qdrant n8n community node repo <3