Skip to content

Commit

Permalink
Add code samples for v1.4.0 (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza authored Sep 18, 2023
1 parent 098a027 commit 3c3a450
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -699,3 +699,21 @@ multi_search_1: |-
->setIndexUid('movie_ratings')
->setQuery('us')
]);
get_dictionary_1: |-
$client->index('books')->getDictionary();
update_dictionary_1: |-
$client->index('books')->updateDictionary(['J. R. R.', 'W. E. B.']);
reset_dictionary_1: |-
$client->index('books')->resetDictionary();
get_separator_tokens_1: |-
$client->index('articles')->getSeparatorTokens();
update_separator_tokens_1: |-
$client->index('articles')->updateSeparatorTokens(['|', '…']);
reset_separator_tokens_1: |-
$client->index('articles')->resetSeparatorTokens();
get_non_separator_tokens_1: |-
$client->index('articles')->getNonSeparatorTokens();
update_non_separator_tokens_1: |-
$client->index('articles')->updateNonSeparatorTokens(['@', '#']);
reset_non_separator_tokens_1: |-
$client->index('articles')->resetNonSeparatorTokens();

0 comments on commit 3c3a450

Please sign in to comment.