sbp-flarum-search/src
Bart van Bragt 2fc66b9bf7 perf: eager-load relationships in UpdateSearchJob and cache permissions in DiscussionSeeder
- Add relationships() to Seeder base class; DiscussionSeeder implements it to
  return tags/recipientUsers/recipientGroups for eager loading
- UpdateSearchJob calls loadMissing(relationships()) before the map loop,
  eliminating N×R lazy-load queries per batch
- Remove refresh:true from bulk call — synchronous ES refresh was the primary
  throughput bottleneck during indexing
- Cache viewForum permissions in DiscussionSeeder per job instance, replacing
  N×2 Permission queries per document with a single cached query
- Increase seeder batch size from 1000 to 2500
2026-04-13 22:18:14 +02:00
..
Api feat: restructure index as parent-child documents with blue-green rebuilds 2026-04-09 23:30:57 +02:00
Commands perf: eager-load relationships in UpdateSearchJob and cache permissions in DiscussionSeeder 2026-04-13 22:18:14 +02:00
Elasticsearch feat: restructure index as parent-child documents with blue-green rebuilds 2026-04-09 23:30:57 +02:00
Exceptions Apply fixes from StyleCI 2022-11-18 09:33:13 +00:00
Jobs perf: eager-load relationships in UpdateSearchJob and cache permissions in DiscussionSeeder 2026-04-13 22:18:14 +02:00
Save feat: restructure index as parent-child documents with blue-green rebuilds 2026-04-09 23:30:57 +02:00
Searchers Apply fixes from StyleCI 2022-11-24 09:38:21 +00:00
Seeders perf: eager-load relationships in UpdateSearchJob and cache permissions in DiscussionSeeder 2026-04-13 22:18:14 +02:00
Provider.php feat: restructure index as parent-child documents with blue-green rebuilds 2026-04-09 23:30:57 +02:00