mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
feat(all): introduce disable typos
This commit is contained in:
parent
27a88bcd47
commit
dd43ba6234
1 changed files with 2 additions and 0 deletions
|
@ -397,6 +397,8 @@ pub fn apply_settings_to_builder(
|
|||
Setting::Reset => {
|
||||
// all typo settings need to be reset here.
|
||||
builder.reset_authorize_typos();
|
||||
builder.reset_min_word_len_one_typo();
|
||||
builder.reset_min_word_len_two_typos();
|
||||
}
|
||||
Setting::NotSet => (),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue