diff --git a/http-ui/Cargo.toml b/http-ui/Cargo.toml index 2e297ce57..a01388a7e 100644 --- a/http-ui/Cargo.toml +++ b/http-ui/Cargo.toml @@ -9,7 +9,6 @@ edition = "2018" anyhow = "1.0.38" byte-unit = { version = "4.0.9", default-features = false, features = ["std"] } crossbeam-channel = "0.5.0" -grenad = { git = "https://github.com/Kerollmops/grenad.git", rev = "3adcb26" } heed = { git = "https://github.com/Kerollmops/heed", tag = "v0.12.1" } meilisearch-tokenizer = { git = "https://github.com/meilisearch/tokenizer.git", tag = "v0.2.5" } memmap = "0.7.0" diff --git a/http-ui/src/main.rs b/http-ui/src/main.rs index b34418465..91d4c8513 100644 --- a/http-ui/src/main.rs +++ b/http-ui/src/main.rs @@ -16,12 +16,11 @@ use byte_unit::Byte; use either::Either; use flate2::read::GzDecoder; use futures::{stream, FutureExt, StreamExt}; -use grenad::CompressionType; use heed::EnvOpenOptions; use meilisearch_tokenizer::{Analyzer, AnalyzerConfig}; use milli::update::UpdateIndexingStep::*; use milli::update::{IndexDocumentsMethod, Setting, UpdateBuilder, UpdateFormat}; -use milli::{obkv_to_json, FilterCondition, Index, MatchingWords, SearchResult}; +use milli::{obkv_to_json, CompressionType, FilterCondition, Index, MatchingWords, SearchResult}; use once_cell::sync::OnceCell; use rayon::ThreadPool; use serde::{Deserialize, Serialize}; diff --git a/milli/src/lib.rs b/milli/src/lib.rs index 2b0bd2ed4..5a5f2ac5c 100644 --- a/milli/src/lib.rs +++ b/milli/src/lib.rs @@ -20,6 +20,7 @@ use std::hash::BuildHasherDefault; use std::result::Result as StdResult; use fxhash::{FxHasher32, FxHasher64}; +pub use grenad::CompressionType; use serde_json::{Map, Value}; pub use self::criterion::{default_criteria, AscDesc, Criterion};