search refactor3

This commit is contained in:
merdan 2023-08-15 14:45:16 +05:00
parent 846e1aa391
commit 7d56ab8208
1 changed files with 11 additions and 0 deletions

View File

@ -115,5 +115,16 @@ return [
'id' => env('ALGOLIA_APP_ID', ''),
'secret' => env('ALGOLIA_SECRET', ''),
],
'meilisearch' => [
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
'key' => env('MEILISEARCH_KEY', null),
'index-settings' => [
\Webkul\Product\Models\ProductFlat::class => [
'filterableAttributes'=> ['locale', 'channel' ],
'sortableAttributes' => ['created_at'],
// Other settings fields...
],
],
],
];