mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Merge b53f7eb79f
into a88146d59e
This commit is contained in:
commit
068d251ac5
3 changed files with 308 additions and 0 deletions
|
@ -467,6 +467,11 @@ impl<State> Index<'_, State> {
|
|||
self.service.get(url).await
|
||||
}
|
||||
|
||||
pub async fn fields(&self) -> (Value, StatusCode) {
|
||||
let url = format!("/indexes/{}/fields", urlencode(self.uid.as_ref()));
|
||||
self.service.get(url).await
|
||||
}
|
||||
|
||||
/// Performs both GET and POST search queries
|
||||
pub async fn search(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue