Fix small typos

This commit is contained in:
Kerollmops 2021-06-15 17:26:08 +02:00
parent adf0c389c5
commit 7ac441e473
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -146,7 +146,7 @@ impl<'a> Search<'a> {
let field_ids_map = self.index.fields_ids_map(self.rtxn)?; let field_ids_map = self.index.fields_ids_map(self.rtxn)?;
let id = field_ids_map.id(name).ok_or_else(|| FieldIdMapMissingEntry::FieldName { let id = field_ids_map.id(name).ok_or_else(|| FieldIdMapMissingEntry::FieldName {
field_name: name.to_string(), field_name: name.to_string(),
process: "fetching distint attribute", process: "distinct attribute",
})?; })?;
let distinct = FacetDistinct::new(id, self.index, self.rtxn); let distinct = FacetDistinct::new(id, self.index, self.rtxn);
self.perform_sort(distinct, matching_words, criteria) self.perform_sort(distinct, matching_words, criteria)