Search: Remove shard/replica settings for serverless compatibility#3099
Search: Remove shard/replica settings for serverless compatibility#3099
Conversation
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 with no reviewable changes (1)
📝 WalkthroughWalkthroughThe change removes explicit Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches✨ Simplify code
Comment |
What
Remove
number_of_shardsandnumber_of_replicassettings from the content date lookup index creation request.Why
Elasticsearch serverless mode does not support these settings — the platform manages shard/replica counts automatically. Including them causes a 400 error on index creation, breaking the assembler index pipeline.
How
Removed the
settingsblock from the PUT index request inContentDateEnrichment.EnsureLookupIndexAsync. The mappings-only request is sufficient.Test plan
docs-assembler-content-dates-edgeindex is created successfully🤖 Generated with Claude Code