mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
change wording of custom ranking rules dsc
-> desc
; #490
This commit is contained in:
committed by
Quentin de Quelen
parent
4d27318b72
commit
6016f2e941
@ -45,8 +45,8 @@ fn write_all_and_delete() {
|
||||
"attribute",
|
||||
"wordsPosition",
|
||||
"exactness",
|
||||
"dsc(release_date)",
|
||||
"dsc(rank)",
|
||||
"desc(release_date)",
|
||||
"desc(rank)",
|
||||
]);
|
||||
|
||||
let body = json.to_string().into_bytes();
|
||||
@ -143,8 +143,8 @@ fn write_all_and_update() {
|
||||
"attribute",
|
||||
"wordsPosition",
|
||||
"exactness",
|
||||
"dsc(release_date)",
|
||||
"dsc(rank)",
|
||||
"desc(release_date)",
|
||||
"desc(rank)",
|
||||
]);
|
||||
|
||||
let body = json.to_string().into_bytes();
|
||||
@ -180,7 +180,7 @@ fn write_all_and_update() {
|
||||
"attribute",
|
||||
"wordsPosition",
|
||||
"exactness",
|
||||
"dsc(release_date)",
|
||||
"desc(release_date)",
|
||||
]);
|
||||
|
||||
let body_update = json_update.to_string().into_bytes();
|
||||
@ -212,7 +212,7 @@ fn write_all_and_update() {
|
||||
"attribute",
|
||||
"wordsPosition",
|
||||
"exactness",
|
||||
"dsc(release_date)",
|
||||
"desc(release_date)",
|
||||
]);
|
||||
|
||||
assert_json_eq!(res_expected, res_value, ordered: false);
|
||||
|
Reference in New Issue
Block a user