Files
lasuite-messages/src/backend
Jean-Baptiste PENRATHandGitHub 7a8cf44479 ⚡(search) use bulk API and prefetching for reindex_all (#595)
The previous implementation indexed each thread and message with individual
OpenSearch HTTP calls and triggered N+1 DB queries for accesses, recipients
and sender lookups. This rewrites reindex_all to batch documents via
opensearchpy.helpers.bulk and prefetch related objects in a single queryset,
drastically reducing both DB round-trips and HTTP overhead.
2026-03-18 16:23:17 +01:00
..
2026-03-18 11:09:52 +01:00
2025-04-13 18:48:04 +02:00
2026-03-16 18:38:08 +01:00
2026-03-16 18:38:08 +01:00