I'd love to know the best way to do this too; did you come up with an alternative solution to the console command?
Nov 10, 2021
3
Level 20
How are you managing your MeiliSearch index configs?
Let's say I have an index called movies, and I would like to add synonyms, as per the docs:
https://docs.meilisearch.com/reference/api/synonyms.html#update-synonyms
$client->index('movies')->updateSynonyms([
'wolverine' => ['xmen', 'logan'],
'logan' => ['wolverine', 'xmen'],
'wow' => ['world of warcraft']
]);
Should I put this code in a command that runs every time I deploy? What are you guys doing?
I used to use Algolia Scout Extended to manage my configs:
Please or to participate in this conversation.