diff --git a/milli/examples/search.rs b/milli/examples/search.rs index 1757c1c5b..ff7d564c6 100644 --- a/milli/examples/search.rs +++ b/milli/examples/search.rs @@ -52,6 +52,7 @@ fn main() -> Result<(), Box> { &(!query.trim().is_empty()).then(|| query.trim().to_owned()), // what a the from which when there is TermsMatchingStrategy::Last, + false, &None, &None, 0, diff --git a/milli/src/search/new/mod.rs b/milli/src/search/new/mod.rs index 4d2805fef..4d561d25b 100644 --- a/milli/src/search/new/mod.rs +++ b/milli/src/search/new/mod.rs @@ -37,7 +37,7 @@ use self::interner::Interner; use self::ranking_rules::{BoxRankingRule, RankingRule}; use self::resolve_query_graph::compute_query_graph_docids; use self::sort::Sort; -use crate::search::new::distinct::{apply_distinct_rule, DistinctOutput}; +use crate::search::new::distinct::apply_distinct_rule; use crate::{ AscDesc, Filter, Index, MatchingWords, Member, Result, SearchResult, TermsMatchingStrategy, UserError,