·
Last changedVersion:
This version passed the hardening gate. Hardening applied 2 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 1. Review findings remaining: 8.
None
None
Expand | File | Group | Subtype | Severity | Status |
|---|
No findings available
0 findings
Before tuning, establish baselines. Use exact KNN as ground truth, compare against approximate HNSW. Target >95% recall@K for production.
Use when: results are irrelevant or missing expected matches and you need to isolate the cause.
exact=true to bypass HNSW approximation Search APIPayload filtering and sparse vector search are different things. Metadata (dates, categories, tags) goes in payload for filtering.
Use when: exact search returns good results but HNSW approximation misses them.
hnsw_ef at query time Search paramsef_construct (200+ for high quality) HNSW configm (16 default, 32 for high recall) HNSW configBinary quantization requires rescore. Without it, quality loss is severe. Use oversampling (3-5x minimum for binary) to recover recall. Always test quantization impact on your data before production. Quantization
Use when: exact search also returns bad results.
Test top 3 MTEB models on 100-1000 sample queries, measure recall@10. Domain-specific models often outperform general models. Hosted inference
Use when: exact search also returns bad results and model choice is confirmed by user.
Optimize search according to advanced search-strategies skill.
hnsw_ef lower than results requestedGet started with chainctlchainctl skill install public/github/diagnosis:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/github/skills/qdrant-search-quality/diagnosis:latest
MIT
HARDENING.md
LICENSE
SKILL.md