Commit Graph

18 Commits

Author SHA1 Message Date
Roardom
cd00f5a0df fix: enforce searching blu-ray/bluray does not include typos
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
2025-11-19 14:29:56 +00:00
Roardom
2cd8db222b fix: searching for people shouldn't search their still link
Searching for `https://...` would return any person.

`php artisan scout:sync-index-settings` has to be ran afterwards.

fixes #5006
2025-09-27 04:34:53 +00:00
HDVinnie
a1e45a4dca add: ability to hide adult content
- closes #4866
- closes #4867
2025-09-17 14:35:00 -04:00
Roardom
dad90c6c7b update: use only orderable meilisearch filters when necessary
Should improve indexing performance.

Depends on upstream meilisearch change scheduled for v1.14: https://www.github.com/meilisearch/meilisearch/issues/5163
2025-07-12 16:05:20 +00:00
Roardom
ae33c74f2b refactor: prefix tmdb metadata models with tmdb
Will help for when there exists other metadata sources available (such as already done for igdb)

Step 4 in cleaner meta fetching code.
2025-03-17 20:41:01 +00:00
Roardom
32cf8da4db refactor: split tmdb into movie_id and tv_id
Step 2 in cleaner meta fetching code.
2025-03-16 22:55:24 +00:00
Roardom
5a6259cea7 remove: sd content and stream optimized flags
SD content is represented by the resolutions table now instead of this flag. Most people prefer web-dls over stream-optimized encodes these days.
2025-03-09 03:33:32 +00:00
Roardom
dcc0aea35c update: change meilisearch proximity precision to byAttribute
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`.
2025-02-22 13:18:40 +00:00
Roardom
d9f567dc88 update: don't queue scout by default
Meilisearch has its own queue. We don't need to double the work and use Laravel's queue in addition to Meilisearch's queue.
2025-01-17 04:31:16 +00:00
Roardom
4d9c259a80 update: disable meilisearch facet search
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.
2025-01-14 06:05:33 +00:00
Roardom
3c7d94d1f0 fix: add torrent trump filtering to meilisearch search
Requires reimporting torrents into meilisearch.
2024-10-20 21:57:20 +00:00
HDVinnie
2cd11b4fb6 Merge pull request #4237 from Roardom/tmdb-rating-sorting
(Update) Allow sorting torrent list by tmdb rating
2024-10-20 17:31:20 -04:00
Roardom
60a909bf33 update: allow sorting torrent list by tmdb rating 2024-10-20 10:01:04 +00:00
Roardom
62defb88f7 fix: searching torrents by keyword
Require resyncing meilisearch search index settings after update.
2024-10-19 18:44:56 +00:00
Roardom
5b7bf9fd2e update: use meilisearch for torrent search by default
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.
2024-10-17 07:21:33 +00:00
Roardom
6d01a6aacd fix: remove release_year from meilisearch
This field has been recently removed from the unit3d schema.
2024-08-18 15:32:42 +00:00
Roardom
f43eef171a update: add rankingRules to meilisearch
Adjusts the search to return results more similar to the sql search.
2024-08-12 12:12:33 +00:00
Roardom
fa35e4e5c0 add: use meilisearch to search torrents 2024-08-06 02:15:25 +00:00