mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Improve search handling in manticore and elasticsearch
This commit is contained in:
@@ -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).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user