Move the AvailableDocumentsIds iterator into the update module

This commit is contained in:
Clément Renault 2020-10-26 10:52:57 +01:00
parent b14cca2ad9
commit 60347a5483
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
4 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,3 @@
mod available_documents_ids;
mod criterion;
mod fields_ids_map;
mod index;
@ -16,7 +15,6 @@ use std::collections::HashMap;
use std::hash::BuildHasherDefault;
use fxhash::{FxHasher32, FxHasher64};
pub use self::available_documents_ids::AvailableDocumentsIds;
pub use self::criterion::{Criterion, default_criteria};
pub use self::fields_ids_map::FieldsIdsMap;
pub use self::index::Index;

View File

@ -23,7 +23,8 @@ use warp::{Filter, http::Response};
use crate::indexing::{self, IndexerOpt, Transform, TransformOutput};
use crate::tokenizer::{simple_tokenizer, TokenType};
use crate::{Index, UpdateStore, SearchResult, AvailableDocumentsIds};
use crate::update::AvailableDocumentsIds;
use crate::{Index, UpdateStore, SearchResult};
#[derive(Debug, StructOpt)]
/// The HTTP main server of the milli project.

View File

@ -1,5 +1,7 @@
mod available_documents_ids;
mod update_builder;
mod update_store;
pub use self::available_documents_ids::AvailableDocumentsIds;
pub use self::update_builder::UpdateBuilder;
pub use self::update_store::UpdateStore;