search refactor3

This commit is contained in:
merdan 2023-08-15 14:48:35 +05:00
parent 7d56ab8208
commit c1cec78497
2 changed files with 1 additions and 16 deletions

View File

@ -1,15 +0,0 @@
<?php
return [
'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...
],
],
],
];

View File

@ -121,7 +121,7 @@ return [
'index-settings' => [
\Webkul\Product\Models\ProductFlat::class => [
'filterableAttributes'=> ['locale', 'channel' ],
'sortableAttributes' => ['created_at'],
'sortableAttributes' => ['name','created_at','min_price'],
// Other settings fields...
],