diff --git a/scene_search/web/index.html b/scene_search/web/index.html
index 416d9cc..f529bc0 100644
--- a/scene_search/web/index.html
+++ b/scene_search/web/index.html
@@ -408,7 +408,8 @@
$('captionDetail').textContent =
(s.model || '') +
(s.route ? ', ' + s.route : '') +
- ', ' + (s.failed || 0) + ' failed';
+ ', ' + (s.failed || 0) + ' failed' +
+ ', search updated: ' + (s.meili_documents_updated || 0);
}
} else if (s.stage === 'failed') {
$('captionNow').disabled = false;
@@ -427,7 +428,12 @@
$('captionStatus').textContent =
'Complete: ' + (s.frames_completed || 0) + ' saved, ' + (s.failed || 0) + ' failed';
$('captionDetail').textContent =
- (s.retained || 0) + ' existing captions retained';
+ (s.retained || 0) + ' existing captions retained, ' +
+ (s.meili_documents_updated || 0) + ' search documents updated' +
+ ((s.meili_sync_pending || 0)
+ ? ', ' + s.meili_sync_pending + ' search updates still pending'
+ : '') +
+ (s.meili_sync_error ? ' ยท last search sync error: ' + s.meili_sync_error : '');
} else if (s.stage === 'stopped') {
$('captionNow').disabled = false;
$('captionNow').textContent = 'Start / resume captioning';
@@ -436,8 +442,12 @@
$('captionStatus').className = 'status muted';
$('captionStatus').textContent = 'Stopped';
$('captionDetail').textContent =
- (s.frames_completed || 0) +
- ' captions saved. Start / resume continues the remaining frames; search updates after a later completed run.';
+ (s.frames_completed || 0) + ' captions saved, ' +
+ (s.meili_documents_updated || 0) + ' search documents updated' +
+ ((s.meili_sync_pending || 0)
+ ? ', ' + s.meili_sync_pending + ' search updates still pending'
+ : '') +
+ '. Start / resume continues the remaining frames.';
} else {
$('captionNow').disabled = false;
$('captionNow').textContent = 'Start / resume captioning';