Skip to content

Commit 9ce189d

Browse files
committed
Add missing code sample
1 parent cfd27e6 commit 9ce189d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,12 @@ getting_started_faceting: |-
520520
'*': "count"
521521
}
522522
})
523+
getting_started_typo_tolerance: |-
524+
client.index('movies').updateTypoTolerance({
525+
minWordSizeForTypos: {
526+
oneTypo: 4
527+
}
528+
})
523529
getting_started_filtering: |-
524530
client.index('meteorites').search('', { filter: 'mass < 200' })
525531
getting_started_pagination: |-

0 commit comments

Comments
 (0)