feat: Make typo factor configurable
Fixes https://github.com/valeriansaliou/sonic/issues/394.
This commit is contained in:
1 parent
0f79d0dab8
commit
9bdd4a2024
11 files changed
+120
-13
No files matched your search
@@ -59,6 +59,7 @@ pub fn defaults_toml() -> String {
|
||||
suggest_limit_maximum = 20
|
||||
list_limit_default = 100
|
||||
list_limit_maximum = 500
|
||||
typo_factor_word_lengths = [4, 7, 10]
|
||||
|
||||
[store.kv]
|
||||
path = {kv_store_path:?}
|
||||
|
||||
Reference in new issue
Block a user