From 3282b105efb0fe8b8c85c93565600692e417766e Mon Sep 17 00:00:00 2001 From: curquiza Date: Mon, 18 Sep 2023 14:14:39 +0200 Subject: [PATCH] Add code samples for v1.4.0 --- .code-samples.meilisearch.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index d1b59b7fd..7b0062f79 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -633,10 +633,28 @@ update_faceting_settings_1: |- }) reset_faceting_settings_1: |- client.index('books').resetFaceting() +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() search_parameter_guide_sort_1: |- client.index('books').search('science fiction', { sort: ['price:asc'], }) +get_separator_tokens_1: |- + client.index('books').getSeparatorTokens() +update_separator_tokens_1: |- + client.index('books').updateSeparatorTokens(['|', '…']) +reset_separator_tokens_1: |- + client.index('books').resetSeparatorTokens() +get_non_separator_tokens_1: |- + client.index('books').getNonSeparatorTokens() +update_non_separator_tokens_1: |- + client.index('books').updateNonSeparatorTokens(['@', '#']) +reset_non_separator_tokens_1: |- + client.index('books').resetNonSeparatorTokens() search_parameter_guide_facet_stats_1: |- client.index('movie_ratings').search('Batman', { facets: ['genres', 'rating'] }) geosearch_guide_filter_settings_1: |-