We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0eca61 commit db06fc6Copy full SHA for db06fc6
tests/settings/test_settings_typo_tolerance_meilisearch.py
@@ -1,6 +1,6 @@
1
DEFAUT_TYPO_TOLERANCE = {
2
'enabled': True,
3
- 'minWordLengthForTypo': {
+ 'minWordSizeForTypos': {
4
'oneTypo': 5,
5
'twoTypos': 9,
6
},
@@ -10,7 +10,7 @@
10
11
NEW_TYPO_TOLERANCE = {
12
13
14
'oneTypo': 6,
15
'twoTypos': 10,
16
@@ -23,6 +23,7 @@ def test_get_typo_tolerance_default(empty_index):
23
response = empty_index().get_typo_tolerance()
24
assert isinstance(response, dict)
25
assert response == DEFAUT_TYPO_TOLERANCE
26
+ print(response)
27
28
def test_update_typo_tolerance(empty_index):
29
"""Tests updating typo_tolerance."""
0 commit comments