mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
type setting struct
This commit is contained in:
parent
998d5ead34
commit
706643dfed
11 changed files with 47 additions and 29 deletions
|
@ -2,7 +2,7 @@ use actix_web::web::Payload;
|
|||
use milli::update::{IndexDocumentsMethod, UpdateFormat};
|
||||
|
||||
use super::Data;
|
||||
use crate::index::Settings;
|
||||
use crate::index::{Checked, Settings};
|
||||
use crate::index_controller::{IndexMetadata, IndexSettings, UpdateStatus};
|
||||
|
||||
impl Data {
|
||||
|
@ -24,7 +24,7 @@ impl Data {
|
|||
pub async fn update_settings(
|
||||
&self,
|
||||
index: String,
|
||||
settings: Settings,
|
||||
settings: Settings<Checked>,
|
||||
create: bool,
|
||||
) -> anyhow::Result<UpdateStatus> {
|
||||
let update = self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue