Qdrant Search Strategies

作者 qdrant6a03d0ce8f55無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Guides Qdrant search strategy selection. Use when someone asks 'should I use hybrid search?', 'how to rerank?', 'results are not relevant', 'I don't get needed results from my dataset but they're there', 'retrieval quality is not good enough', 'results too similar', 'need diversity', 'MMR', 'relevance feedback', 'recommendation API', 'discovery API', or 'missing keyword matches'

僅含說明AI & Agents
AI 產生的概覽

指導選擇 Qdrant 搜尋策略,例如混合搜尋、重排序、MMR 與相關性回饋。

功能
這個技能是一份用來改善 Qdrant 檢索品質的診斷指南。它把缺少關鍵字比對、精確度偏低、結果重複或需要以範例引導等症狀,對應到特定策略,包括混合搜尋、多階段查詢與重排序、相關性回饋、MMR、推薦與探索 API,以及分數加權。它也列出應避免的做法,例如用單一策略籠統解決所有問題,或略過評估。
適用情境
當有人詢問是否該採用混合搜尋、如何重排序、結果為什麼不相關、結果為什麼過於相似,或如何使用 MMR、相關性回饋、推薦 API、探索 API 時使用。它適合排查現有 Qdrant 環境中的檢索品質問題。
執行需求
不隨附指令碼,僅為說明性內容。代理需要 Read、Grep 與 Glob 工具。內容引用了外部 Qdrant 文件連結,存取這些連結需要網路。

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.

Each symptom needs its own strategy — diagnose and treat them independently. A single project can have more than one symptom at once, and fixing one (e.g. adding hybrid search for keyword misses) does not also fix the others (e.g. redundant results still need MMR; poor precision still needs reranking).

SymptomStrategy
Missing exact/keyword matchesHybrid search
Right documents exist but rank low (good recall, poor precision)Multistage queries / reranking
Dense retriever misses relevant items entirely, or reranking too costlyRelevance feedback
Results are redundant / near-duplicateMMR
Need to steer with example pointsRecommendation / Discovery API
Need business-logic-based rankingScore boosting

Missing Keyword Matches or Need to Combine Multiple Search Signals

Use when: pure vector search misses keyword/domain term matches, or the use case benefits from combining searches on multiple representations (including languages and modalities) of the same item.

See how to use hybrid search

Right Documents Found But Not in the Top Results

Use when: good recall but poor precision (right docs in top-100, not top-10).

Dense Retriever Misses Relevant Items or Reranking Is Too Costly

Use when: dense retriever misses relevant items you know exist in the collection; relevant documents lie outside the initial ANN retrieval pool; reranking a large candidate pool is too slow or expensive; using a small/cheap embedding model but need quality close to a larger model; or want to improve top-1/3 precision without the full cost of reranking.

See Relevance Feedback in Qdrant

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 diversity to balance relevance and diversity MMR
  • Start with diversity=0.5, lower for more precision, higher for more exploration
  • MMR is slower than standard search. Only use when redundancy is an actual problem.

Want to improve search results based on examples (positive and negative)

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 Results 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 search quality (adds complexity, may mask model issues)
  • Apply one strategy (e.g. hybrid search) as a blanket fix for multiple distinct symptoms — diagnose and treat each symptom separately (see table above)
  • Skip evaluation when adding relevance feedback — score the end-to-end pipeline to confirm it actually helps Pipeline Output Quality

來源與署名

來源:qdrant/skills位於skills/qdrant-search-quality/search-strategies提交6a03d0c

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架