lunarphp / livewire-starter-kit

Demonstration store for Lunar
https://docs.lunarphp.io/core/starter-kits.html
155 stars 51 forks source link

Meilisearch causing exceptions in some views #35

Closed nathan-io closed 1 year ago

nathan-io commented 2 years ago

Hello, I was able to install the demo store. However, on several routes, I'm getting exceptions related to Meilisearch (using the default .env settings with Meilisearch running in a Docker container):

Here are a couple of examples:

On /hub/orders:

MeiliSearch\Exceptions\ApiException
Invalid facet distribution, the fields `__soft_deleted, created_at, placed_at, status` are not set as filterable. (View: /home/nathan/dev/109/demo-store/vendor/getcandy/admin/resources/views/livewire/components/orders/index.blade.php)

On /hub/products:

MeiliSearch\Exceptions\ApiException
Attribute `__soft_deleted` is not filterable. Available filterable attributes are: ``. (View: /home/nathan/dev/109/demo-store/vendor/getcandy/admin/resources/views/livewire/pages/products/index.blade.php)
glennjacobs commented 2 years ago

Try running the following (again)

php artisan getcandy:meilisearch:setup