Commit Graph

12 Commits

Author SHA1 Message Date
Ewan Higgs 6b2fe94192 Fixes for clippy bringing us down to 18 remaining issues.
This brings us a step closer to enforcing clippy on each build.
2022-10-25 20:49:02 +02:00
Tamo 484a9ddb27
Simplify the error creation with thiserror and a smol friendly macro 2022-05-04 17:24:00 +02:00
many 9f1e0d2a49
Refine asc/desc error messages 2021-10-28 14:47:17 +02:00
many 2be755ce75
Lower error check, already check in meilisearch 2021-10-27 19:50:41 +02:00
many 3599df77f0
Change some error messages 2021-10-27 19:33:01 +02:00
Irevoire b65aa7b5ac
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
2021-10-07 17:51:52 +02:00
Tamo 11dfe38761
Update the check on the latitude and longitude
Latitude are not supposed to go beyound 90 degrees or below -90.
The same goes for longitude with 180 or -180.

This was badly implemented in the filters, and was not implemented for the AscDesc rules.
2021-10-07 16:10:43 +02:00
Tamo d9eba9d145
improve and test the sort error message 2021-09-30 14:38:27 +02:00
Tamo a80dcfd4a3
improve error message for bad sort syntax with geosearch 2021-09-28 14:32:24 +02:00
Tamo c7cb816ae1
simplify the error handling of the sort syntax for meilisearch 2021-09-27 19:07:22 +02:00
Irevoire 218f0a6661
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
2021-09-22 17:00:27 +02:00
Tamo 257e621d40
create an asc_desc module 2021-09-22 16:37:41 +02:00