Poor Semantic Search Results
The Problem
Symptoms
Real-World Example
Query: "How do I reset my password?"
Top results returned:
1. "Account Security Best Practices" (score: 0.78)
2. "Password Requirements Policy" (score: 0.76)
3. "Two-Factor Authentication Setup" (score: 0.74)
Missing from results:
- "Password Reset Guide" (score: 0.68) ← Should be #1!
Problem: Semantic similarity favors "password" + "security"
over actual "password reset" procedureDeep Technical Analysis
Embedding Space Limitations
Query-Document Mismatch
Training Data Bias
Cosine Similarity Limitations
Negative Retrieval and Exclusions
Retrieval K Parameter Tuning
Reranking and Two-Stage Retrieval
Metadata Filtering vs Semantic Search
Cold Start and New Documents
How to Solve
Last updated

