mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 16:51:01 +00:00
WIP
This commit is contained in:
@ -185,21 +185,21 @@ fn get_ranking_rules_for_query_graph_search<'ctx>(
|
||||
if attribute {
|
||||
continue;
|
||||
}
|
||||
todo!();
|
||||
// todo!();
|
||||
// attribute = false;
|
||||
}
|
||||
crate::Criterion::Sort => {
|
||||
if sort {
|
||||
continue;
|
||||
}
|
||||
todo!();
|
||||
// todo!();
|
||||
// sort = false;
|
||||
}
|
||||
crate::Criterion::Exactness => {
|
||||
if exactness {
|
||||
continue;
|
||||
}
|
||||
todo!();
|
||||
// todo!();
|
||||
// exactness = false;
|
||||
}
|
||||
crate::Criterion::Asc(field) => {
|
||||
@ -214,7 +214,7 @@ fn get_ranking_rules_for_query_graph_search<'ctx>(
|
||||
continue;
|
||||
}
|
||||
desc.insert(field);
|
||||
todo!();
|
||||
// todo!();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -216,7 +216,6 @@ impl QueryTerm {
|
||||
///
|
||||
/// This excludes synonyms, split words, and words stored in the prefix databases.
|
||||
pub fn all_phrases(&'_ self) -> impl Iterator<Item = Interned<Phrase>> + Clone + '_ {
|
||||
todo!("self.phrase");
|
||||
self.split_words.iter().chain(self.synonyms.iter()).copied()
|
||||
}
|
||||
pub fn is_empty(&self) -> bool {
|
||||
|
Reference in New Issue
Block a user