Qdrant Search Strategies
GitHubOfficialFirst committed by anush008Distributed by GitHub
- Skill
- Guidelines
- Data and AI
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured approach to optimizing search results in Qdrant beyond basic vector search. It covers strategies for addressing common retrieval challenges such as missing keyword matches, poor result ordering, lack of diversity, and the need for business-logic-driven ranking. It emphasizes verifying foundational settings before implementing complex techniques like hybrid search, reranking, relevance feedback, or MMR.
What it does
- Provides strategies for hybrid search to capture missing keyword matches.
- Explains how to improve result ordering using cross-encoder rerankers and late-interaction models.
- Outlines the use of Relevance Feedback to improve recall for hard-to-find documents.
- Details how to increase result diversity using Maximal Marginal Relevance (MMR).
- Guides the use of Recommendation and Discovery APIs for example-based search steering.
- Offers best practices for score boosting based on business logic.
When to use it
- When pure vector search fails to retrieve documents with obvious keyword matches.
- When relevant documents are retrieved but appear too low in the result list.
- When top results are redundant or lack sufficient diversity.
- When you have specific positive or negative examples to steer search results.
- When business logic, such as recency or distance, must influence ranking.
Advantages
- Helps diagnose and fix specific retrieval quality issues systematically.
- Provides actionable guidance on balancing search precision, recall, and diversity.
- Prevents premature implementation of complex hybrid search architectures.
- Offers clear criteria for when to apply advanced features like MMR or Relevance Feedback.
Usage examples
- “My search results are missing documents that contain specific brand names. What should I do?”
- The agent suggests implementing hybrid search by combining dense vectors with sparse models (like SPLADE or BM25) to ensure exact keyword matching is captured.
- “The top 10 results are too similar to each other. How can I get more variety?”
- The agent recommends enabling Maximal Marginal Relevance (MMR) with a diversity parameter to balance relevance against result redundancy.
- “I have a list of documents I know are relevant, but my current search isn't finding them. How can I improve this?”
- The agent advises using the Relevance Feedback Query API to steer the retriever through the vector space using graded relevance scores.
- “Should I use hybrid search for my project?”
- The agent guides you to first verify your embedding model and HNSW configuration, then explains that hybrid search is best for keyword-heavy domains where pure semantic search falls short.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/qdrant-search-strategies/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip qdrant-search-strategies.zip -d .agents/skills
Documentation by anush008
How to Improve Search Results with Advanced Strategies
These strategies complement basic vector search. Use them after confirming the embedding model is fitting the task and HNSW config is correct. If exact search returns bad results, verify the selection of the embedding model (retriever) first. If the user wants to use a weaker embedding model because it is small, fast, and cheap, use reranking or relevance feedback to improve search quality.
Missing Obvious Keyword Matches
Use when: pure vector search misses results that contain obvious keyword matches. Domain terminology not in embedding training data, exact keyword matching critical (brand names, SKUs), acronyms common. Skip when: pure semantic queries, all data in training set, latency budget very tight.
Dense + sparse with
prefetchand fusion Hybrid searchPrefer learned sparse (miniCOIL, SPLADE, GTE) over raw BM25 if applicable (when user needs smart keywords matching and learned sparse models know the vocabulary of the domain)
For non-English languages, configure sparse BM25 parameters accordingly
RRF: good default, supports weighted (v1.17+) RRF
DBSF with asymmetric limits (sparse_limit=250, dense_limit=100) can outperform RRF for technical docs DBSF
Fusion can also be done through reranking
Right Documents Found But Wrong Order
Use when: good recall but poor precision (right docs in top-100, not top-10).
Cross-encoder rerankers via FastEmbed Rerankers
See how to use Multistage queries in Qdrant
ColBERT and ColPali/ColQwen reranking is especially precise due to late interaction mechanisms, but it is heavy. It is important to configure and store multivectors without building HNSW for them to save resources. See Multivector representation
Right Documents Not Found But They Are There
Use when: basic retrieval is in place but the retriever misses relevant items you know exist in the dataset. Works on any embeddable data (text, images, etc.).
Relevance Feedback (RF) Query uses a feedback model's scores on retrieved results to steer the retriever through the full vector space on subsequent iterations, like reranking the entire collection through the retriever. Complementary to reranking: a reranker sees a limited subset, RF leverages feedback signals collection-wide. Even 3–5 feedback scores are enough. Can run multiple iterations.
A feedback model is anything producing a relevance score per document: a bi-encoder, cross-encoder, late-interaction model, LLM-as-judge. Fuzzy relevance scores work, not just binary (good/bad, relevant/irrelevant), due to the fact that feedback is expressed as a graded relevance score (higher = more relevant).
Skip when: if the retriever already has strong recall, or if retriever and feedback model strongly agree on relevance.
RF Query is currently based on a 3-parameter naive formula with no universal defaults, so it must be tuned per dataset, retriever, and feedback model
Use qdrant-relevance-feedback to tune parameters, evaluate impact with Evaluator, and check retriever-feedback agreement. See README for setup instructions. No GPUs are needed, and the framework also provides predefined retriever and feedback model options.
Check the configuration of the Relevance Feedback Query API
Use this as a helper end-to-end text retrieval example with parameter tuning and evals to understand how to use the API and run the
qdrant-relevance-feedbackframework: RF tutorial
Results Too Similar
Use when: top results are redundant, near-duplicates, or lack diversity. Common in dense content domains (academic papers, product catalogs).
Use MMR (v1.15+) as a query parameter with
diversityto balance relevance and diversity MMRStart with
diversity=0.5, lower for more precision, higher for more explorationMMR is slower than standard search. Only use when redundancy is an actual problem.
Know What Good Results Could Look Like But Can't Get Them
Use when: you can provide positive and negative example points to steer search closer to positive and further from negative.
Recommendation API: positive/negative examples to recommend fitting vectors Recommendation API
Best score strategy: better for diverse examples, supports negative-only Best score
Discovery API: context pairs (positive/negative) to constrain search regions without a request target Discovery
Have Business Logic Behind Relevance
Use when: results should be additionally ranked according to some business logic based on data, like recency or distance.
Check how to set up in Score Boosting docs
What NOT to Do
Use hybrid search before verifying pure vector quality (adds complexity, may mask model issues)
Use BM25 on non-English text without correctly configuring language-specific stop-word removal (severely degraded results)
Skip evaluation when adding relevance feedback (it's good to check on real queries that it actually could help)
Files
- ATTRIBUTION.mdAdded by AutoGineer896 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md6.8 KiB
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
anush008
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/qdrant-search-quality/search-strategies · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- anush008
AutoGineer is not affiliated with or endorsed by anush008 or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download qdrant-search-strategies.zip