mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Clean up some comments
This commit is contained in:
parent
2cc4a467a6
commit
9b6b35d9b7
@ -283,7 +283,6 @@ fn resolve_candidates<'t>(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// FIXME Make this function generic and mutualize it between Typo and proximity criterion
|
|
||||||
fn mdfs<'t>(
|
fn mdfs<'t>(
|
||||||
ctx: &'t dyn Context,
|
ctx: &'t dyn Context,
|
||||||
branches: &[Operation],
|
branches: &[Operation],
|
||||||
|
@ -94,12 +94,6 @@ impl<'a> Search<'a> {
|
|||||||
let criteria_builder = criteria::CriteriaBuilder::new(self.rtxn, self.index)?;
|
let criteria_builder = criteria::CriteriaBuilder::new(self.rtxn, self.index)?;
|
||||||
let mut criteria = criteria_builder.build(query_tree, facet_candidates)?;
|
let mut criteria = criteria_builder.build(query_tree, facet_candidates)?;
|
||||||
|
|
||||||
// // We sort in descending order on a specific field *by hand*, don't do that at home.
|
|
||||||
// let attr_name = "released-timestamp";
|
|
||||||
// let fid = self.index.fields_ids_map(self.rtxn)?.id(attr_name).unwrap();
|
|
||||||
// let ftype = *self.index.faceted_fields(self.rtxn)?.get(attr_name).unwrap();
|
|
||||||
// let desc_criterion = AscDesc::desc(self.index, self.rtxn, Box::new(words_criterion), fid, ftype)?;
|
|
||||||
|
|
||||||
let mut offset = self.offset;
|
let mut offset = self.offset;
|
||||||
let mut limit = self.limit;
|
let mut limit = self.limit;
|
||||||
let mut documents_ids = Vec::new();
|
let mut documents_ids = Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user