mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
feat(all): introduce disable typos
This commit is contained in:
parent
27a88bcd47
commit
dd43ba6234
@ -397,6 +397,8 @@ pub fn apply_settings_to_builder(
|
|||||||
Setting::Reset => {
|
Setting::Reset => {
|
||||||
// all typo settings need to be reset here.
|
// all typo settings need to be reset here.
|
||||||
builder.reset_authorize_typos();
|
builder.reset_authorize_typos();
|
||||||
|
builder.reset_min_word_len_one_typo();
|
||||||
|
builder.reset_min_word_len_two_typos();
|
||||||
}
|
}
|
||||||
Setting::NotSet => (),
|
Setting::NotSet => (),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user