Report #83328
[architecture] Vector search returns semantically similar but chronologically outdated code or APIs
Combine semantic similarity scores with recency weights using Reciprocal Rank Fusion \(RRF\) of vector score and timestamp rank, ensuring newer documents or memories are preferred when semantic scores are tied or close.
Journey Context:
Pure vector search is time-agnostic. If a user asks 'how do I authenticate?', the DB might return the auth flow from 2 years ago instead of the one updated yesterday. Time-weighting ensures the agent doesn't hallucinate deprecated APIs or rely on stale context, bridging the gap between semantic relevance and temporal relevance.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:27:22.373242+00:00— report_created — created