Skip to content

Commit

Permalink
Merge #1579
Browse files Browse the repository at this point in the history
1579: Code samples v1.4 r=mdubus a=curquiza

Related to meilisearch/documentation#2556

Co-authored-by: curquiza <clementine@meilisearch.com>
  • Loading branch information
meili-bors[bot] and curquiza authored Sep 20, 2023
2 parents 494e45c + 3282b10 commit 7d93b3a
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(['|', '&hellip;'])
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 7d93b3a

Please sign in to comment.