Search: Fall back to last_updated in sitemap reader#3103
Search: Fall back to last_updated in sitemap reader#3103
Conversation
Documents indexed before the content date pipeline existed don't have content_last_updated. The sitemap reader now falls back to last_updated so sitemap generation succeeds during the transition period. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe changes modify 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Comment |
What
Fall back to
last_updatedwhencontent_last_updatedis missing in the sitemap reader.Why
Documents indexed before the content date pipeline existed don't have
content_last_updated, causing the sitemap reader to skip every hit and fail with "No documents found."How
The sitemap reader now tries
content_last_updatedfirst, then falls back tolast_updated. The_sourcefilter fetches both fields.Test plan
last_updated🤖 Generated with Claude Code