Skip to content

Commit 5db6571

Browse files
committed
Add getting started typo
1 parent 814623d commit 5db6571

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# the documentation on build
44
# You can read more on https://github.com/meilisearch/documentation/tree/master/.vuepress/code-samples
55
---
6-
getting_started_typo_tolerance: |-
7-
86
get_one_index_1: |-
97
client.get_index('movies')
108
list_all_indexes_1: |-
@@ -190,6 +188,12 @@ update_displayed_attributes_1: |-
190188
])
191189
reset_displayed_attributes_1: |-
192190
client.index('movies').reset_displayed_attributes()
191+
getting_started_typo_tolerance: |-
192+
client.index('movies').update_typo_tolerance({
193+
'minWordSizeForTypos': {
194+
'oneTypo': 4
195+
}
196+
})
193197
get_typo_tolerance_1:
194198
client.index('books').get_typo_tolerance()
195199
update_typo_tolerance_1: |-

0 commit comments

Comments
 (0)