mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
route document add json
This commit is contained in:
parent
1a38bfd31f
commit
02ef1d41d7
5 changed files with 71 additions and 13 deletions
|
@ -5,6 +5,7 @@ pub use settings::{Settings, Facets};
|
|||
use std::io;
|
||||
use std::sync::Arc;
|
||||
use std::ops::Deref;
|
||||
use std::fs::create_dir_all;
|
||||
|
||||
use anyhow::Result;
|
||||
use flate2::read::GzDecoder;
|
||||
|
@ -336,6 +337,7 @@ impl UpdateQueue {
|
|||
let handler = UpdateHandler::new(&opt.indexer_options, indexes, sender)?;
|
||||
let size = opt.max_udb_size.get_bytes() as usize;
|
||||
let path = opt.db_path.join("updates.mdb");
|
||||
create_dir_all(&path)?;
|
||||
let inner = UpdateStore::open(
|
||||
Some(size),
|
||||
path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue