Skip to content

Commit 3ac52c1

Browse files
nnethercottbrunoocasali
authored andcommitted
add disable_on_numbers to TypoTolerance
1 parent c2bab14 commit 3ac52c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meilisearch/models/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class MinWordSizeForTypos(CamelBase):
4444

4545
class TypoTolerance(CamelBase):
4646
enabled: bool = True
47+
disable_on_numbers: bool = False
4748
disable_on_attributes: Optional[List[str]] = None
4849
disable_on_words: Optional[List[str]] = None
4950
min_word_size_for_typos: Optional[MinWordSizeForTypos] = None

0 commit comments

Comments
 (0)