mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
completely file backed udpates
This commit is contained in:
parent
62532b8f79
commit
9aca6fab88
6 changed files with 90 additions and 64 deletions
|
@ -12,7 +12,7 @@ use milli::Index;
|
|||
use milli::update::{IndexDocumentsMethod, UpdateFormat, DocumentAdditionResult};
|
||||
use serde::{Serialize, Deserialize, de::Deserializer};
|
||||
use uuid::Uuid;
|
||||
use tokio::fs::File;
|
||||
use actix_web::web::Payload;
|
||||
use crate::data::SearchResult;
|
||||
use crate::data::SearchQuery;
|
||||
|
||||
|
@ -133,7 +133,7 @@ pub trait IndexController {
|
|||
index: String,
|
||||
method: IndexDocumentsMethod,
|
||||
format: UpdateFormat,
|
||||
data: File,
|
||||
data: Payload,
|
||||
primary_key: Option<String>,
|
||||
) -> anyhow::Result<UpdateStatus>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue