mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
rename words_position to wordsPosition; fix #483
This commit is contained in:
@ -1063,7 +1063,7 @@ mod tests {
|
||||
"words",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"words_position",
|
||||
"wordsPosition",
|
||||
"exactness",
|
||||
"dsc(release_date)"
|
||||
],
|
||||
|
@ -126,7 +126,7 @@ impl FromStr for RankingRule {
|
||||
"words" => RankingRule::Words,
|
||||
"proximity" => RankingRule::Proximity,
|
||||
"attribute" => RankingRule::Attribute,
|
||||
"words_position" => RankingRule::WordsPosition,
|
||||
"wordsPosition" => RankingRule::WordsPosition,
|
||||
"exactness" => RankingRule::Exactness,
|
||||
_ => {
|
||||
let captures = RANKING_RULE_REGEX.captures(s).ok_or(RankingRuleConversionError)?;
|
||||
|
Reference in New Issue
Block a user