Introduce the filter syntax for CONTAINS, STARTS WITH and ENDS WITH operators

This commit is contained in:
Kerollmops
2023-05-15 16:43:36 +02:00
parent 918ce1dd67
commit c4472810ec
6 changed files with 85 additions and 18 deletions

View File

@@ -298,6 +298,15 @@ impl<'a> Filter<'a> {
let all_ids = index.documents_ids(rtxn)?;
return Ok(all_ids - docids);
}
Condition::Contains(val) => {
todo!()
}
Condition::StartsWith(val) => {
todo!()
}
Condition::EndsWith(val) => {
todo!()
}
};
let mut output = RoaringBitmap::new();