qdrant-search-strategies
यह क्या करती है
यह गाइड तब काम आती है जब सामान्य search ठीक से काम नहीं कर रहा हो। इसमें search के नतीजों को बेहतर ढंग से ढूंढने और उनके क्रम को सुधारने के कुछ advanced तरीके बताए गए हैं।
कब इस्तेमाल करें
- ✓जब सीधा keyword search काम न करे।
- ✓जब सही नतीजे तो आएं, लेकिन गलत क्रम में हों।
- ✓जब नतीजे एक-जैसे हों और उनमें विविधता न हो।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/qdrant-search-quality/search-strategies/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं ऐसे documents कैसे ढूंढ सकता हूँ जिनमें 'Qdrant' का ज़िक्र हो, भले ही उनके description में यह शब्द न लिखा हो?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
गाइड बताती है कि सीधे keyword search से बेहतर तरीके कैसे अपनाएं। इसमें समझाया गया है कि अलग-अलग search के तरीकों को कैसे मिलाया जाए, या नतीजों को दोबारा इस तरह क्रम में कैसे लगाया जाए कि सबसे ज़रूरी नतीजे सबसे ऊपर दिखें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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 search - Prefer 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
…
अक्सर पूछे जाने वाले सवाल
hybrid search क्या है?
यह exact keyword search (जैसे BM25) और meaning similarity search (vectors) का मेल है। इससे उन नतीजों को ढूंढने में मदद मिलती है जिनमें समानार्थी या मिलते-जुलते शब्द इस्तेमाल हुए हों।
'reranking' क्या है?
यह पहले से मिले नतीजों को दोबारा क्रम में लगाने की प्रक्रिया है। एक ज़्यादा समझदार model ऊपर के नतीजों को देखता है और सबसे प्रासंगिक नतीजों को सबसे ऊपर रख देता है।
MMR क्या है?
MMR (Maximal Marginal Relevance) एक तरीका है जो नतीजों को बहुत ज़्यादा दोहराव वाला होने से रोकता है। यह प्रासंगिक नतीजे दिखाने और उन्हें एक-दूसरे से अलग रखने के बीच संतुलन बनाता है।
जानकारी
लेखक का मूल विवरण
Guides Qdrant search strategy selection. Use when someone asks 'should I use hybrid search?', 'BM25 or sparse vectors?', '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', 'ColBERT reranking',
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7374
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
pytorch-patterns
280kआपके एजेंट को machine learning models के लिए PyTorch इस्तेमाल करने में मदद करता है। कुशल model training के best practices लागू करता है और नतीजों को दोहराने लायक रखता है।
evm-token-decimals
280kयह आपके एजेंट को अलग-अलग blockchain networks पर decimal numbers की गलतियों से बचने में मदद करता है। यह transactions और calculations में token values सही रखने का ध्यान रखता है।
ito-inference
280kआपके एजेंट को AI models की उपलब्धता जाँचने देता है। यह compute request को तैयार model service से जोड़ता है।