search refactor3
This commit is contained in:
parent
7d56ab8208
commit
c1cec78497
|
|
@ -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...
|
||||
],
|
||||
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
@ -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...
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue