[v1.4] [Prototype] Separators settings api
alallema opened this issue · comments
Description
Introduction of two new settings: separatorTokens
and nonSeparatorTokens
in Meilisearch 1.4 as a prototype.
We want to create a prototype version of meilisearch-php
, implementing the required changes to be able to try out the new settings.
To do
- Two GET routes that fetches the settings
- Two PUT routes that updates the settings
- Two Delete routes that resets the settings
- Add tests
Basic example
$client->index('indexName')->getSeparatorTokens();
$client->index('indexName')->getNonSeparatorTokens();
$client->index('indexName')->updateSeparatorTokens(['|', '/', '&sep']);
$client->index('indexName')->updateNonSeparatorTokens(['@', '#']);
$client->index('indexName')->resetSeparatorTokens();
$client->index('indexName')->resetNonSeparatorTokens();
Done by #572