mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
change param tuples by struct
add settings endpoint; wip
This commit is contained in:
parent
5ec130e6dc
commit
b08f6737ac
6 changed files with 343 additions and 310 deletions
|
@ -1,5 +1,5 @@
|
|||
use actix_web::{get, HttpResponse};
|
||||
use serde::Serialize;
|
||||
use serde::{Serialize, Deserialize};
|
||||
use log::error;
|
||||
use meilisearch_core::ProcessedUpdateResult;
|
||||
|
||||
|
@ -11,10 +11,15 @@ pub mod index;
|
|||
pub mod key;
|
||||
pub mod search;
|
||||
pub mod stats;
|
||||
// pub mod setting;
|
||||
pub mod setting;
|
||||
// pub mod stop_words;
|
||||
// pub mod synonym;
|
||||
|
||||
#[derive(Default, Deserialize)]
|
||||
pub struct IndexParam {
|
||||
index_uid: String
|
||||
}
|
||||
|
||||
#[derive(Default, Serialize)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct IndexUpdateResponse {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue