mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-25 20:57:35 +01:00
multi-search: Add test server search method for multi search
This commit is contained in:
parent
a23fbf6c7b
commit
3ba5dfb6ec
@ -103,6 +103,10 @@ impl Server {
|
|||||||
Index { uid: uid.as_ref().to_string(), service: &self.service, encoder }
|
Index { uid: uid.as_ref().to_string(), service: &self.service, encoder }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub async fn multi_search(&self, queries: Value) -> (Value, StatusCode) {
|
||||||
|
self.service.post("/multi-search", queries).await
|
||||||
|
}
|
||||||
|
|
||||||
pub async fn list_indexes_raw(&self, parameters: &str) -> (Value, StatusCode) {
|
pub async fn list_indexes_raw(&self, parameters: &str) -> (Value, StatusCode) {
|
||||||
self.service.get(format!("/indexes{parameters}")).await
|
self.service.get(format!("/indexes{parameters}")).await
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user