mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-25 14:10:06 +01:00
fixes from review
This commit is contained in:
parent
944a5bb36e
commit
e9b90d5380
@ -109,7 +109,7 @@ impl Data {
|
|||||||
let criteria = index
|
let criteria = index
|
||||||
.criteria(&txn)?
|
.criteria(&txn)?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|v| format!("{}", v))
|
.map(|v| v.to_string())
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
Ok(Settings {
|
Ok(Settings {
|
||||||
|
@ -62,7 +62,6 @@ impl SearchQuery {
|
|||||||
documents_ids,
|
documents_ids,
|
||||||
matching_words,
|
matching_words,
|
||||||
candidates,
|
candidates,
|
||||||
..
|
|
||||||
} = search.execute()?;
|
} = search.execute()?;
|
||||||
|
|
||||||
let mut documents = Vec::new();
|
let mut documents = Vec::new();
|
||||||
|
@ -8,7 +8,6 @@ async fn get_settings_unexisting_index() {
|
|||||||
assert_eq!(code, 400)
|
assert_eq!(code, 400)
|
||||||
}
|
}
|
||||||
|
|
||||||
// test broken, should be fixed with milli#101
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn get_settings() {
|
async fn get_settings() {
|
||||||
let server = Server::new().await;
|
let server = Server::new().await;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user