meilisearch / meilisearch-php

PHP wrapper for the Meilisearch API

Home Page:https://meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Call to undefined method Meilisearch\Client::deleteAllIndexes()

oleaass opened this issue · comments

When attempting to execute php artisan scout:delete-all-indexes we get this error.

image

Hi @oleaass, this command was removed from this library because it was not correctly implemented.

It was also introduced as part of the laravel/scout here laravel/scout#678.
Please ensure you're using Laravel Scout v10 + Meilisearch PHP v1.0 or newer. To solve the issue :)

I'll take a look in your PR when I come back of my holidays :)

Hi @brunoocasali, thanks for replying :)

You are correct. We using laravel/scout:9.6 with Meilisearch 1.0.

Enjoy your holiday!

I'll close this because Meilisearch engine will probably support this feature in the future.

If someone wants it now feel free to reopen and work on it!