Commit Graph

12 Commits

Author SHA1 Message Date
Tamo 2c47500bc3
fix two nightly errors 2022-12-13 15:29:52 +01:00
Louis Dureuil 3328560788
fix: allow filters on = inf, = NaN, return InvalidFilter for < inf, < NaN
Fixes meilisearch/meilisearch#3000
2022-11-08 13:27:15 +01:00
Pranav Yadav 3b35ebda50 chore: added `IN`,`NOT IN` to `invalid_filter` msg 2022-10-31 15:01:14 +00:00
Loïc Lecrenier 5d74ebd5e5 Cargo fmt 2022-08-18 11:36:38 +02:00
Loïc Lecrenier 9af69c151b Limit the maximum depth of filters
This should have no impact on the user but is there to safeguard
meilisearch against malicious inputs.
2022-08-18 11:31:38 +02:00
Loïc Lecrenier b09a8f1b91 Filters: add explicit error message when using a keyword as value 2022-08-17 16:07:00 +02:00
Loïc Lecrenier 4ecfb95d0c Improve syntax errors for `IN` filter 2022-08-17 12:28:33 +02:00
Loïc Lecrenier dc64170a69 Improve syntax of EXISTS filter, allow “value NOT EXISTS” 2022-07-19 10:07:33 +02:00
Loïc Lecrenier 72452f0cb2 Implements the EXIST filter operator 2022-07-19 10:07:33 +02:00
Tamo 92804f6f45
apply clippy suggestions 2022-01-10 15:59:04 +01:00
Tamo 02a21fd309
Handle the escapes of quote in the filters 2022-01-04 04:04:10 +01:00
Tamo f28600031d
Rename the filter_parser crate into filter-parser
Co-authored-by: Clément Renault <clement@meilisearch.com>
2021-11-09 16:41:10 +01:00