Skip to content

Commit

Permalink
Add code samples for v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza committed Sep 18, 2023
1 parent a025817 commit 4ecf396
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 @@ -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: |-
Expand Down

0 comments on commit 4ecf396

Please sign in to comment.