start updating the exposed function to makes other modules happy

This commit is contained in:
Tamo 2021-10-22 17:23:22 +02:00
parent 6c9165b6a8
commit e25ca9776f
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
7 changed files with 24 additions and 12 deletions

View file

@ -262,7 +262,7 @@ impl Search {
}
if let Some(ref filter) = self.filter {
let condition = milli::FilterCondition::from_str(&txn, &index, filter)?;
let condition = milli::Filter::from_str(filter)?;
search.filter(condition);
}