From dd43ba62341b68de47c751814613ad7945ed711f Mon Sep 17 00:00:00 2001 From: ad hoc Date: Thu, 17 Mar 2022 11:59:35 +0100 Subject: [PATCH] feat(all): introduce disable typos --- meilisearch-lib/src/index/updates.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meilisearch-lib/src/index/updates.rs b/meilisearch-lib/src/index/updates.rs index cd985476c..2c4b7c1c5 100644 --- a/meilisearch-lib/src/index/updates.rs +++ b/meilisearch-lib/src/index/updates.rs @@ -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 => (), }