Skip to content

Commit

Permalink
remove material url from typesens
Browse files Browse the repository at this point in the history
  • Loading branch information
gheorghelupu17 committed Sep 18, 2024
1 parent ef3a4b3 commit e192d5d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/Models/Material.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function toSearchableArray(): array
return [
'id' => (string) $this->id,
'name' => $this->name,
'url' => (string) $this->url,
'categories' => $this->categories->pluck('name'),
'created_at' => $this->created_at->timestamp,
];
Expand All @@ -69,10 +68,6 @@ public static function getTypesenseModelSettings(): array
'name' => 'name',
'type' => 'string',
],
[
'name' => 'url',
'type' => 'string',
],
[
'name' => 'categories',
'type' => 'string[]',
Expand Down

0 comments on commit e192d5d

Please sign in to comment.