Skip to content

Commit

Permalink
Add (non)separator token code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix committed Oct 24, 2023
1 parent f988c0b commit 2f0fd09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,18 @@ facet_search_2: |-
client.index('books').update_faceting_settings({ 'sortFacetValuesBy': { 'genres': 'count' } })
facet_search_3: |-
client.index('books').facet_search('genres', 'c')
get_separator_tokens_1: |-
client.index('articles').get_separator_tokens()
update_separator_tokens_1: |-
client.index('articles').update_separator_tokens(["|", "…"])
reset_separator_tokens_1: |-
client.index('articles').reset_separator_tokens()
get_non_separator_tokens_1: |-
client.index('articles').get_non_separator_tokens()
update_non_separator_tokens_1: |-
client.index('article').update_non_separator_tokens(["@", "#"])
reset_non_separator_tokens_1: |-
client.index('articles').reset_non_separator_tokens()
get_dictionary_1: |-
client.index('books').get_dictionary()
update_dictionary_1: |-
Expand Down

0 comments on commit 2f0fd09

Please sign in to comment.