mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
rename the update-file-store to file-store since it can store any kind of file
This commit is contained in:
parent
5dcd67c597
commit
5abb79f149
3 changed files with 17 additions and 17 deletions
|
@ -13,7 +13,7 @@ use uuid::Uuid;
|
|||
|
||||
use super::error::{IndexError, Result};
|
||||
use super::index::{Index, IndexMeta};
|
||||
use file_store::UpdateFileStore;
|
||||
use file_store::FileStore;
|
||||
|
||||
fn serialize_with_wildcard<S>(
|
||||
field: &Setting<Vec<String>>,
|
||||
|
@ -297,7 +297,7 @@ impl Index {
|
|||
&self,
|
||||
method: IndexDocumentsMethod,
|
||||
primary_key: Option<String>,
|
||||
file_store: UpdateFileStore,
|
||||
file_store: FileStore,
|
||||
contents: impl IntoIterator<Item = Uuid>,
|
||||
) -> Result<Vec<Result<DocumentAdditionResult>>> {
|
||||
trace!("performing document addition");
|
||||
|
|
|
@ -8,7 +8,7 @@ mod utils;
|
|||
|
||||
use batch::Batch;
|
||||
pub use error::Error;
|
||||
use file_store::UpdateFileStore;
|
||||
use file_store::FileStore;
|
||||
use index::Index;
|
||||
pub use task::Task;
|
||||
use task::{Kind, KindWithContent, Status};
|
||||
|
@ -57,7 +57,7 @@ pub struct IndexScheduler {
|
|||
/// The list of tasks currently processing.
|
||||
processing_tasks: Arc<RwLock<RoaringBitmap>>,
|
||||
|
||||
file_store: UpdateFileStore,
|
||||
file_store: FileStore,
|
||||
|
||||
/// The LMDB environment which the DBs are associated with.
|
||||
env: Env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue