mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Use the new Asc/Desc syntax everywhere
This commit is contained in:
parent
fcedff95e8
commit
5b88df508e
4 changed files with 12 additions and 12 deletions
|
@ -1030,7 +1030,7 @@ mod tests {
|
|||
displayed_attributes: Setting::Set(vec!["name".to_string()]),
|
||||
searchable_attributes: Setting::Set(vec!["age".to_string()]),
|
||||
filterable_attributes: Setting::Set(hashset! { "age".to_string() }),
|
||||
criteria: Setting::Set(vec!["asc(age)".to_string()]),
|
||||
criteria: Setting::Set(vec!["age:asc".to_string()]),
|
||||
stop_words: Setting::Set(btreeset! { "and".to_string() }),
|
||||
synonyms: Setting::Set(hashmap! { "alex".to_string() => vec!["alexey".to_string()] }),
|
||||
};
|
||||
|
@ -1058,7 +1058,7 @@ mod tests {
|
|||
Token::Str("criteria"),
|
||||
Token::Some,
|
||||
Token::Seq { len: Some(1) },
|
||||
Token::Str("asc(age)"),
|
||||
Token::Str("age:asc"),
|
||||
Token::SeqEnd,
|
||||
Token::Str("stopWords"),
|
||||
Token::Some,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue