diff --git a/milli/src/search/new/mod.rs b/milli/src/search/new/mod.rs index 44e26a9ea..e699d408f 100644 --- a/milli/src/search/new/mod.rs +++ b/milli/src/search/new/mod.rs @@ -150,6 +150,7 @@ fn get_ranking_rules_for_query_graph_search<'ctx>( crate::Criterion::Typo | crate::Criterion::Attribute | crate::Criterion::Proximity + // TODO: no exactness | crate::Criterion::Exactness => { if !words { ranking_rules.push(Box::new(Words::new(terms_matching_strategy))); diff --git a/milli/src/search/new/query_term.rs b/milli/src/search/new/query_term.rs index 0ce000537..2b32fcd84 100644 --- a/milli/src/search/new/query_term.rs +++ b/milli/src/search/new/query_term.rs @@ -216,6 +216,7 @@ impl QueryTerm { /// /// This excludes synonyms, split words, and words stored in the prefix databases. pub fn all_phrases(&'_ self) -> impl Iterator> + Clone + '_ { + todo!("self.phrase"); self.split_words.iter().chain(self.synonyms.iter()).copied() } pub fn is_empty(&self) -> bool { diff --git a/milli/src/search/new/ranking_rule_graph/mod.rs b/milli/src/search/new/ranking_rule_graph/mod.rs index baeb8bb71..9f825ee3d 100644 --- a/milli/src/search/new/ranking_rule_graph/mod.rs +++ b/milli/src/search/new/ranking_rule_graph/mod.rs @@ -15,6 +15,8 @@ mod proximity; /// Implementation of the `typo` ranking rule mod typo; +mod attribute_rank; + use std::hash::Hash; pub use condition_docids_cache::ConditionDocIdsCache;