feat: Make typo factor configurable

Fixes https://github.com/valeriansaliou/sonic/issues/394.
This commit is contained in:
dualfroz committed 2026-10-10 12:42:09 +02:00
1 parent 0f79d0dab8
commit 9bdd4a2024
11 files changed
+120 -13

No files matched your search

+1
View File
@@ -44,6 +44,7 @@ pub fn defaults_toml() -> &'static str {
suggest_limit_maximum = 20
list_limit_default = 100
list_limit_maximum = 500
typo_factor_word_lengths = [4, 7, 10]
[store.kv]
path = "./data/store/kv/"