Skip to content

Commit

Permalink
revert changes to magazine model
Browse files Browse the repository at this point in the history
  • Loading branch information
pushrbx authored Nov 8, 2024
1 parent 2272ed1 commit 8c6398d
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions app/Magazine.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand Down

0 comments on commit 8c6398d

Please sign in to comment.