Skip to content

Commit

Permalink
Merge #579
Browse files Browse the repository at this point in the history
579: Add code samples for v1.4.0 r=brunoocasali a=curquiza

Related to meilisearch/documentation#2556

Co-authored-by: curquiza <[email protected]>
  • Loading branch information
meili-bors[bot] and curquiza authored Sep 14, 2023
2 parents 098a027 + b32be84 commit 19e9511
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(['|', '&hellip;']);
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 19e9511

Please sign in to comment.