Reputation: 2661
I don't mean filters, I mean settings: https://docs.meilisearch.com/reference/api/settings.html
So let's say I wanted to change the default Meilisearch 'stopword' setting for a specific model (or even all models)
$client->index('movies')->updateStopWords(['the', 'of', 'to']);
how could I do this?
Upvotes: 2
Views: 1130
Reputation: 51
Scout creates a singleton with the Meilisearch client. That means you can access the instance from anywhere within your laravel container like this :
$client = app(\MeiliSearch\Client::class);
$client->index('movies')->updateStopWords(['the', 'of', 'to']);
Upvotes: 5