Jiang, Guomin
09af859357
fix(metadata): batch large document ID filters (#17394)
## Summary
- batch `DocMetadataService._search_metadata()` requests whose
`condition["id"]` list exceeds 10,000 IDs
- combine the per-batch results so metadata reads, summaries, and batch
updates avoid a single oversized Elasticsearch `terms` query
- add regression coverage for 20,001 IDs, verifying three bounded
backend searches and complete metadata results
Fixes #17393
2026-08-21 15:21:45 +08:00
..
2026-07-03 12:53:39 +08:00
2026-08-04 11:34:32 +08:00
2026-08-20 19:39:02 +08:00
2026-06-16 19:02:20 +08:00
2026-07-03 12:53:39 +08:00
2026-08-18 09:53:11 +08:00
2026-08-21 09:58:26 +08:00
2026-08-21 09:58:26 +08:00
2026-08-18 09:53:11 +08:00
2026-08-20 19:39:02 +08:00
2026-08-21 10:11:06 +08:00
2026-08-21 15:21:45 +08:00
2026-08-05 11:44:15 +08:00
2026-08-20 19:39:02 +08:00
2026-03-12 09:47:42 +08:00
2026-08-06 16:49:50 +08:00
2026-08-20 19:39:02 +08:00
2026-08-20 19:39:02 +08:00
2025-12-29 12:37:13 +08:00
2026-08-21 10:11:06 +08:00
2026-07-03 12:53:39 +08:00
2026-08-10 10:16:56 +08:00
2026-08-18 19:29:18 +08:00
2026-07-03 12:53:39 +08:00
2026-05-18 19:08:45 +08:00
2026-08-18 13:27:04 +08:00
2026-07-30 14:29:24 +08:00
2026-07-03 12:53:39 +08:00
2026-07-03 12:53:39 +08:00
2026-07-03 12:53:39 +08:00
2026-07-03 12:53:39 +08:00
2026-07-29 13:15:34 +08:00
2026-08-20 19:39:02 +08:00
2026-07-10 10:34:19 +08:00