mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Draft implementation of filter support for /delete-by-batch route
This commit is contained in:
parent
1afde4fea5
commit
05cc463fbc
2 changed files with 81 additions and 6 deletions
|
@ -745,7 +745,7 @@ fn format_value<A: AsRef<[u8]>>(
|
|||
}
|
||||
}
|
||||
|
||||
fn parse_filter(facets: &Value) -> Result<Option<Filter>, MeilisearchHttpError> {
|
||||
pub fn parse_filter(facets: &Value) -> Result<Option<Filter>, MeilisearchHttpError> {
|
||||
match facets {
|
||||
Value::String(expr) => {
|
||||
let condition = Filter::from_str(expr)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue