- 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 |
||
|---|---|---|
| .. | ||
| Api | ||
| Commands | ||
| Elasticsearch | ||
| Exceptions | ||
| Jobs | ||
| Save | ||
| Searchers | ||
| Seeders | ||
| Provider.php | ||