xiaowei
7ac626e847
fix: useful_count type + revert resp.Result (use report_json)
1. Feedback端点 类型修复 (core.go)
- 之前传 map[string]int,Update() 只处理 map[string]string/map[string]interface{}
- int 被当作 string case 处理, 被丢弃
- 修复: map[string]interface{}{"": 1}
2. IPC 搜索字段名 (lancedb_ipc.go)
- Rust send_ok 用 report_json,不是 result
- 错误改用 resp.Result 导致 IPC 结果永远为空
- 回退到 resp.ReportJSON (这是正确的)
- 加 Result 字段只是为了日志可见性(不被 Rust 填充)
验证: recall_count=6, useful_count=1 确认写入 LanceDB
2026-05-31 07:43:42 +08:00
..
2026-05-29 01:07:05 +08:00
2026-05-28 17:16:52 +08:00
2026-05-31 07:43:42 +08:00
2026-05-28 17:35:25 +08:00
2026-05-30 10:31:25 +08:00
2026-05-29 02:51:46 +08:00
2026-05-29 02:51:46 +08:00
2026-05-28 18:35:19 +08:00
2026-05-30 12:44:50 +08:00