28 Commits

Author SHA1 Message Date
pushrbx
9de8ffc9db fixed filtering by producer/magazine on anime/manga search endpoints
- additionally improved model factories for tests
2024-04-10 18:59:30 +01:00
pushrbx
1d3aa7b794 various hot fixes and improvements
- improved searching with low letter count
- removed the ability to order anime by type and rating
- fixed schedules endpoint's filter parameter yet again
- improved configuration
- fixed filtering anime by producers
- fixed filtering manga by magazines
- fixed search analytics in case of short search terms
2023-07-15 14:44:42 +01:00
pushrbx
7a88c030b4 more tuning for the search engine 2023-07-09 10:50:18 +01:00
pushrbx
01248abc24
Merge pull request #409 from pushrbx/search-improvements-3
Added fixes for searching and various things
2023-07-08 16:49:54 +01:00
pushrbx
dd624d6872 added improvements for search
- better typesense 0.24.1 support
- exhaustive search disabled by default
- central place for the MAX_RESULTS_PER_PAGE option
- added class for getting searchable attributes of models in typesense
2023-06-27 14:45:38 +01:00
pushrbx
1f9871fe25 fixed #235 - added alternative titles to index 2023-06-27 14:22:52 +01:00
pushrbx
496b9e6671 added missing filter method to Manga model 2023-06-25 14:37:39 +01:00
pushrbx
723e8efdd9 fixed sfw filter 2023-06-11 13:36:14 +01:00
Irfan
8772fb4ed8 seasons: fixes listing based on aired date (adds UTC timezone to datetime) 2023-06-11 06:58:24 +05:00
pushrbx
dc9b234f19 improved full-text search
- added support for typesense 0.24.1
- fixed issue where empty `filter_by` field being sent to typesense which resulted in an error
- added infix indexing for title fields in case of Anime/Manga
- added more env vars for customising typesense search
- upgraded typesense driver
2023-05-21 11:18:35 +01:00
pushrbx
6eff2af172 various fixes and refactorings
- genre filtering
- added unapproved filtering
- fixed sfw filtering
- fixed kids filtering
- fixed deprecation warnings as of php 8.1
  - DateTime ctor can't take `null` anymore as first param
  - preg_replace doesn't accept `null` values as `$subject`
- fixed failed items indexer (the --failed option of indexers) -- it didn't load the correct file making it impossible to retry the indexing
- changed the document schema for search indexed anime/manga
  - added `approved` field to them
  - staging will require a reimport into TypeSense
- the central filtering system will now process `sfw` and `unapproved` filters, so they will be applied implicitly through the `filter` model scope method.
2023-05-21 11:18:35 +01:00
pushrbx
cfdc99fe2d improved search results in typesense for anime,manga 2023-05-21 11:18:34 +01:00
pushrbx
d171f29bc9 fixed bugs introduced by the new system 2023-05-21 11:18:02 +01:00
pushrbx
0211fc4128 multiple fixes
- updated api docs
- fixed top reviews endpoint
- fixed reviews parsing
- added "contextual" boolean query string parameters, so params without value can be interpreted as "boolean". E.g. ?sfw or ?kid in the url would add "true" value to their corresponding field in the DTO
- fixed typesense issues
2023-05-21 11:18:02 +01:00
pushrbx
5e922f7cd9 fixed tests part1 2023-05-21 11:14:35 +01:00
pushrbx
413df48fdc fixed issues and added route params mapper 2023-05-21 11:14:35 +01:00
pushrbx
a145f18bbd wip - major refactor
- AppServiceProvider is needs more work to wire in new services
- todo: more dtos
- todo: add unit tests
- todo: add more integration tests
2023-05-21 11:14:34 +01:00
pushrbx
39ab02e969 fixed test service provider contextual binding 2023-05-21 11:14:34 +01:00
pushrbx
8f102d2b56 added the foundations for fixture based tests 2023-05-21 11:14:32 +01:00
pushrbx
1d75928d15 refactored title simplifications 2022-10-03 20:04:39 +01:00
Irfan
6bf7888176 improve search accuracy 2022-10-03 23:20:39 +05:00
pushrbx
66d2f5377a fixed issues with filtering 2022-06-20 22:35:14 +01:00
pushrbx
1dbdc71d15 made search results more similar to the ones on MAL
- added more support for elasticsearch
- added more options for typesense searches
2022-06-18 15:03:50 +01:00
pushrbx
b5acf936ed (wip) added a new system for resolving query string parameters to ORM commands. 2022-06-08 17:05:12 +01:00
Irfan
34b3cb4126 Anime/Manga: add explicit, themes, and demographics 2021-12-27 20:18:25 +05:00
Irfan
da7ad88604 update schemas 2020-07-23 03:00:16 +05:00
Irfan
13f94bc611 Manga V4 endpoints complete 2020-07-05 12:26:49 +05:00
Irfan
c224586f87 v4 DB add Manga Model/Resource 2020-06-19 11:59:25 +05:00