mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Move functions to deserialize documents to milli
This commit is contained in:
parent
1d9caa11fd
commit
de99e52474
9 changed files with 17 additions and 143 deletions
|
@ -6,11 +6,11 @@ use meilisearch_types::internal_error;
|
|||
use tokio::task::JoinError;
|
||||
|
||||
use super::DocumentAdditionFormat;
|
||||
use crate::document_formats::DocumentFormatError;
|
||||
use crate::dump::error::DumpError;
|
||||
use crate::index::error::IndexError;
|
||||
use crate::tasks::error::TaskError;
|
||||
use crate::update_file_store::UpdateFileStoreError;
|
||||
use milli::documents::document_formats::DocumentFormatError;
|
||||
|
||||
use crate::index_resolver::error::IndexResolverError;
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ use tokio::task::spawn_blocking;
|
|||
use tokio::time::sleep;
|
||||
use uuid::Uuid;
|
||||
|
||||
use crate::document_formats::{read_csv, read_json, read_ndjson};
|
||||
use crate::dump::{self, load_dump, DumpHandler};
|
||||
use crate::index::{
|
||||
Checked, Document, IndexMeta, IndexStats, SearchQuery, SearchResult, Settings, Unchecked,
|
||||
|
@ -34,6 +33,7 @@ use crate::tasks::{
|
|||
BatchHandler, EmptyBatchHandler, Scheduler, SnapshotHandler, TaskFilter, TaskStore,
|
||||
};
|
||||
use error::Result;
|
||||
use milli::documents::document_formats::{read_csv, read_json, read_ndjson};
|
||||
|
||||
use self::error::IndexControllerError;
|
||||
use crate::index_resolver::index_store::{IndexStore, MapIndexStore};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue