Commit fc7c5cc
Search: Fix ingest timestamp access in content-date pipeline
Replace ctx._ingest.timestamp (not available in Painless script
processors) with a set processor using Mustache {{{_ingest.timestamp}}}.
The set processor pre-sets content_last_updated to the ingest timestamp,
and the script processor only overwrites it when the enrich lookup finds
a matching content hash.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 3899203 commit fc7c5cc
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
| |||
161 | 169 | | |
162 | 170 | | |
163 | 171 | | |
164 | | - | |
165 | | - | |
166 | 172 | | |
167 | 173 | | |
168 | 174 | | |
| |||
0 commit comments