implement custom payload

This commit is contained in:
marin postma 2021-06-23 13:55:16 +02:00
parent 71226feb74
commit 1c13100948
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
4 changed files with 65 additions and 7 deletions

View file

@ -3,7 +3,7 @@ use std::path::Path;
use std::sync::Arc;
use std::time::Duration;
use actix_web::web::{Bytes, Payload};
use actix_web::web::Bytes;
use chrono::{DateTime, Utc};
use futures::stream::StreamExt;
use log::error;
@ -25,6 +25,7 @@ use uuid_resolver::{error::UuidResolverError, UuidResolverHandle};
use crate::index::{Checked, Document, SearchQuery, SearchResult, Settings};
use crate::option::Opt;
use error::Result;
use crate::Payload;
use self::dump_actor::load_dump;
use self::error::IndexControllerError;