Commit Graph

19 Commits

Author SHA1 Message Date
666ae1a3e7 Add "did you mean" message 2025-08-13 13:00:38 +02:00
f6559258ce Improve operation error on vector filters 2025-08-13 10:32:28 +02:00
b5ba0e42b3 Add new error 2025-08-13 09:58:16 +02:00
13d38d59bf Remove useless import 2025-07-24 15:44:11 +02:00
dbb670a9ee Remove old split function 2025-07-24 15:28:58 +02:00
a92e36ab83 Small improvements 2025-07-24 15:28:17 +02:00
ad06828685 Add tests on parser 2025-07-24 15:24:42 +02:00
8f1b697b91 Format 2025-07-24 14:57:06 +02:00
bb4d573862 Switch to a nom parser 2025-07-24 14:56:35 +02:00
a3b8c2b71f Gate behind multimodal experimental feature 2025-07-09 18:21:52 +02:00
9e98a25e45 Fix clippy 2025-07-08 15:56:09 +02:00
0301d8f239 Improve error handling 2025-07-08 11:39:10 +02:00
03eb50fbac Upgrade dependencies 2025-06-17 22:03:06 +02:00
4d90e3d2ec Make Cargo and Clippy happy 2025-04-01 11:26:34 +02:00
967033579d Refactor search and facet-search
**Changes:**
The search filters are now using the FilterableAttributesFeatures from the FilterableAttributesRules to know if a field is filterable.
Moreover, the FilterableAttributesFeatures is more precise and an error will be returned if an operator is used on a field that doesn't have the related feature.
The facet-search is now checking if the feature is allowed in the FilterableAttributesFeatures and an error will be returned if the field doesn't have the related feature.

**Impact:**
- facet-search is now relying on AttributePatterns to match the locales
- search using filters is now relying on FilterableAttributesFeatures
- distinct attribute is now relying on FilterableAttributesRules
2025-03-03 10:25:32 +01:00
48a9ad4c17 Fix insta to 1.39 2025-01-08 15:18:08 +01:00
b997039a91 Upgrade compatible dependencies 2025-01-08 13:52:14 +01:00
54e34beac6 Check attributes are filterable before evaluating search query 2024-12-07 21:13:13 +00:00
9c1e54a2c8 Move crates under a sub folder to clean up the code 2024-10-21 08:18:43 +02:00