技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
qdrant-search-strategies【数据与研究】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',…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: qdrant-search-strategies description: "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'" allowed-tools:
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 may require a different strategy: diagnose and address them independently. A single project can have multiple symptoms at once, and fixing one (e.g. adding hybrid search for keyword misses) may not fix the others (e.g. redundant results may still need MMR; poor precision may still need reranking).
| Symptom | Strategy |
|---|---|
| Missing exact/keyword matches | Hybrid search |
| Right documents exist but rank low (good recall, poor precision) | Multistage queries / reranking |
| Dense retriever misses relevant items entirely, or reranking too costly | Relevance feedback |
| Results are redundant / near-duplicate | MMR |
| Need to steer with example points | Recommendation / Discovery API |
| Need business-logic-based ranking | Score boosting |
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
Use when: good recall but poor precision (right docs in top-100, not top-10).
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
Use when: top results are redundant, near-duplicates, or lack diversity. Common in dense content domains (academic papers, product catalogs).
diversity to balance relevance and diversity MMRdiversity=0.5, lower for more precision, higher for more explorationUse when: you can provide positive and negative example points to steer search closer to positive and further from negative.
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