Improve search handling in manticore and elasticsearch

This commit is contained in:
DariusIII
2026-07-14 16:10:02 +02:00
parent 064154ad12
commit efd52fb1d8
19 changed files with 561 additions and 50 deletions
@@ -5,6 +5,8 @@ declare(strict_types=1);
namespace App\Services\Search\Contracts;
use App\Enums\SecondarySearchIndex;
use App\Services\Search\DTO\ReleaseSearchQuery;
use App\Services\Search\DTO\SearchPage;
/**
* Interface for full-text search services (ManticoreSearch, Elasticsearch).
@@ -352,6 +354,8 @@ interface SearchServiceInterface
*/
public function searchReleasesFiltered(array $criteria, int $limit, int $offset = 0): array;
public function searchReleasePage(ReleaseSearchQuery $query): SearchPage;
/**
* Upsert a metadata document (music, books, games, console, steam, anime).
*