Commit 94fe6e9
Ingest: Add post-indexing content date resolution (#3112)
* Search: Add post-indexing content date resolution via update_by_query
HashedBulkUpdate uses bulk update actions (scripted upserts) which skip
Elasticsearch ingest pipelines, so content_last_updated was never set
during normal indexing. This adds a ResolveContentDatesAsync step that
runs _update_by_query with the enrichment pipeline after indexing
completes, and switches StopAsync to use read aliases instead of the
write target (which is removed after CompleteAsync).
Includes integration tests against a real Elasticsearch container
validating cold-start, date preservation, change detection, and the
bulk-update pipeline gap.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Search: Fix lint warnings in content date enrichment tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7a45c71 commit 94fe6e9
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
228 | 235 | | |
229 | 236 | | |
230 | 237 | | |
| |||
0 commit comments