incorporate review changes

This commit is contained in:
mpostma
2021-02-04 13:21:15 +01:00
parent 9af0a08122
commit f8f02af23e
7 changed files with 43 additions and 134 deletions

View File

@ -51,7 +51,7 @@ impl SearchQuery {
if let Some(ref condition) = self.facet_condition {
if !condition.trim().is_empty() {
let condition = FacetCondition::from_str(&rtxn, &index, &condition).unwrap();
let condition = FacetCondition::from_str(&rtxn, &index, &condition)?;
search.facet_condition(condition);
}
}