move payload to own module

This commit is contained in:
marin postma 2021-06-23 14:56:02 +02:00
parent 834995b130
commit a838238a63
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
6 changed files with 79 additions and 75 deletions

View file

@ -1,8 +1,9 @@
use milli::update::{IndexDocumentsMethod, UpdateFormat};
use crate::extractors::payload::Payload;
use crate::index::{Checked, Settings};
use crate::index_controller::{error::Result, IndexMetadata, IndexSettings, UpdateStatus};
use crate::{Data, Payload};
use crate::Data;
impl Data {
pub async fn add_documents(