Skip to content

Commit 604c9be

Browse files
authored
Merge pull request #1328 from sanders41/meilisearch-1.15.0
Update for Meilisearch v1.15.0
2 parents 30b2723 + a47cc42 commit 604c9be

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

meilisearch_python_sdk/models/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class TypoTolerance(CamelBase):
1818
enabled: bool = True
1919
disable_on_attributes: list[str] | None = None
2020
disable_on_words: list[str] | None = None
21+
disable_on_numbers: bool | None = None
2122
min_word_size_for_typos: MinWordSizeForTypos | None = None
2223

2324

tests/test_async_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ async def test_update_typo_tolerance(compress, async_empty_index):
664664
enabled=True,
665665
disable_on_attributes=["title"],
666666
disable_on_words=["spiderman"],
667+
disable_on_numbers=True,
667668
min_word_size_for_typos=MinWordSizeForTypos(one_typo=10, two_typos=20),
668669
)
669670
index = await async_empty_index()

tests/test_index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ def test_update_typo_tolerance(compress, empty_index):
651651
enabled=True,
652652
disable_on_attributes=["title"],
653653
disable_on_words=["spiderman"],
654+
disable_on_numbers=True,
654655
min_word_size_for_typos=MinWordSizeForTypos(one_typo=10, two_typos=20),
655656
)
656657
index = empty_index()

0 commit comments

Comments
 (0)