From 8c6398dd58c1308a4683eec55de74ecb4805c825 Mon Sep 17 00:00:00 2001 From: pushrbx Date: Fri, 8 Nov 2024 19:46:07 +0000 Subject: [PATCH] revert changes to magazine model --- app/Magazine.php | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/app/Magazine.php b/app/Magazine.php index 8c23553b..513fdb41 100644 --- a/app/Magazine.php +++ b/app/Magazine.php @@ -72,33 +72,6 @@ public function toSearchableArray(): array ]; } - public function getCollectionSchema(): array - { - return [ - 'name' => $this->searchableAs(), - 'fields' => [ - [ - 'name' => '.*', - 'type' => 'auto', - ], - [ - 'name' => 'titles', - 'type' => 'string', - 'optional' => false, - 'infix' => true, - 'sort' => true - ], - [ - 'name' => 'url', - 'type' => 'string', - 'optional' => false, - 'infix' => true, - 'sort' => true - ], - ] - ]; - } - public function typesenseQueryBy(): array { return [