fix: write has_trace_data to OpenSearch document during indexing
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m2s
CI / docker (push) Successful in 38s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 36s

The toMap() method was missing the has_trace_data field, so it was
never indexed despite being read back in hitToSummary().

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-29 14:39:57 +02:00
parent a4fcb8810f
commit 604e5db874

View File

@@ -361,6 +361,7 @@ public class OpenSearchIndex implements SearchIndex {
return pm;
}).toList());
}
map.put("has_trace_data", doc.hasTraceData());
return map;
}