use distinct on search

This commit is contained in:
qdequele 2020-03-02 14:34:29 +01:00
parent 72450c765d
commit a2f0f95337
No known key found for this signature in database
GPG key ID: B3F0A000EBF11745
6 changed files with 44 additions and 9 deletions

View file

@ -96,12 +96,12 @@ fn write_all_and_delete() {
let res_value: Value = serde_json::from_slice(&buf).unwrap();
let json = json!([
"typo",
"words",
"proximity",
"attribute",
"wordsPosition",
"exactness"
"typo",
"words",
"proximity",
"attribute",
"wordsPosition",
"exactness"
]);
assert_json_eq!(json, res_value, ordered: false);