Blu-ray and BluRay historically mean 2 different things, and meilisearch combines them together. To do this, we need to add the two words to be disabled in typos, as well as for all case permutations to be added to the dictionary. Related: https://www.github.com/meilisearch/meilisearch/issues/5934
This setting is more useful for full text search inside paragraphs of content and we already have it at the bottom of our ranking rules. The docs (https://www.meilisearch.com/docs/reference/api/settings#proximity-precision) mention a significant indexing performance boost when this is switched to `byAttribute` so let's take advantage of that.
Requires running `php artisan scout:sync-index-settings`.
It takes up extra resources to index facets, but we don't ever search for facets. So, we can disable indexing facets and save on resources.
Requires meilisearch 1.12.
Run `sudo php artisan scout:sync-index-settings` after update.
Using scout directly doesn't work because when increasing the maxTotalHits in meilisearch, scout will use the max instead of just fetching the current page. Meilisearch seems to handle a max of 200k torrents fine on its own, with 12ms latency when e.g. filtering by type down to 38000 totalHits. Run `php artisan scout:sync-index-settings`, followed by `php artisan auto:sync_torrents_to_meilisearch` after updating.