mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
WIP
This commit is contained in:
parent
01c7d2de8f
commit
9b1f439a91
4 changed files with 26 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue