add new search engine

This commit is contained in:
ludo
2024-01-31 23:45:58 +01:00
parent 8eb3104b2a
commit 067532b6fc
5 changed files with 59 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
<?php
use App\Models\Shop\Article;
return [
/*
@@ -132,6 +134,12 @@ return [
'meilisearch' => [
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
'key' => env('MEILISEARCH_KEY', null),
'index-settings' => [
Article::class => [
'filterableAttributes'=> ['id', 'name', 'description'],
'sortableAttributes' => ['created_at'],
],
],
],
];