mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
feat(all): introduce minWordLengthForTypo
fix typo in settting skip serializing not set typo settings
This commit is contained in:
parent
981fba5b44
commit
27a88bcd47
4 changed files with 56 additions and 7 deletions
|
@ -41,7 +41,9 @@ impl ErrorCode for MilliError<'_> {
|
|||
UserError::CriterionError(_) => Code::InvalidRankingRule,
|
||||
UserError::InvalidGeoField { .. } => Code::InvalidGeoField,
|
||||
UserError::SortError(_) => Code::Sort,
|
||||
UserError::InvalidMinTypoWordLenSetting(_, _) => unreachable!(),
|
||||
UserError::InvalidMinTypoWordLenSetting(_, _) => {
|
||||
Code::InvalidMinWordLengthForTypo
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue