1861c69964
fmt
2023-03-30 23:37:26 +02:00
cb2b5eb38e
handle _geoDistance(x,x) sort error
2023-03-30 23:21:23 +02:00
53aa0a1b54
handle _geo(x,x) sort error
2023-03-30 23:17:34 +02:00
a53536836b
fmt
2023-02-14 17:04:22 +01:00
d7ad39ad77
fix: clippy error
2023-02-14 00:15:35 +01:00
849de089d2
add thiserror for AscDescError
2023-02-14 00:15:35 +01:00
7f25007d31
Update milli/src/asc_desc.rs
...
Co-authored-by: Tamo <irevoire@protonmail.ch >
2023-02-14 00:15:35 +01:00
c810af3ebf
implement From<ParseGeoError> for AscDescError
2023-02-14 00:15:35 +01:00
c0b77773ba
fmt asc_desc
2023-02-14 00:15:35 +01:00
4c91037602
use ParseGeoError in sort parser
2023-02-14 00:15:35 +01:00
b297b5deb0
cargo fmt
2023-02-02 12:34:49 +01:00
65a3086cf1
fix test
2023-02-02 12:27:58 +01:00
426d63b01b
Update insta test suite
2023-02-02 12:27:56 +01:00
b078477d80
Add error handling and earth lap collision with bounding box
2023-02-02 12:17:38 +01:00
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
484a9ddb27
Simplify the error creation with thiserror and a smol friendly macro
2022-05-04 17:24:00 +02:00
9f1e0d2a49
Refine asc/desc error messages
2021-10-28 14:47:17 +02:00
2be755ce75
Lower error check, already check in meilisearch
2021-10-27 19:50:41 +02:00
3599df77f0
Change some error messages
2021-10-27 19:33:01 +02:00
b65aa7b5ac
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2021-10-07 17:51:52 +02:00
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
d9eba9d145
improve and test the sort error message
2021-09-30 14:38:27 +02:00
a80dcfd4a3
improve error message for bad sort syntax with geosearch
2021-09-28 14:32:24 +02:00
c7cb816ae1
simplify the error handling of the sort syntax for meilisearch
2021-09-27 19:07:22 +02:00
218f0a6661
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2021-09-22 17:00:27 +02:00
257e621d40
create an asc_desc module
2021-09-22 16:37:41 +02:00