6a0a0ae94f
Make the Transform read from an EnrichedDocumentsBatchReader
2022-07-12 14:55:52 +02:00
dc3f092d07
Do not leak an internal grenad Error
2022-07-12 14:55:52 +02:00
8ebf5eed0d
Make the nested primary key work
2022-07-12 14:55:52 +02:00
fcfc4caf8c
Move the Object type in the lib.rs file and use it everywhere
2022-07-12 14:55:51 +02:00
0146175fe6
Introduce the validate_documents_batch function
2022-07-12 14:55:51 +02:00
b61efd09fc
Makes the internal soft deleted error a UserError
2022-07-05 15:34:45 +02:00
3b309f654a
Fasten the document deletion
...
When a document deletion occurs, instead of deleting the document we mark it as deleted
in the new “soft deleted” bitmap. It is then removed from the search, and all the other
endpoints.
2022-07-05 15:30:33 +02:00
484a9ddb27
Simplify the error creation with thiserror and a smol friendly macro
2022-05-04 17:24:00 +02:00
c55368ddd4
apply code suggestion
...
Co-authored-by: Kerollmops <kero@meilisearch.com >
2022-05-04 14:11:03 +02:00
3cb1f6d0a1
improve geosearch error messages
2022-05-02 19:20:47 +02:00
4f3ce6d9cd
nested fields
2022-04-07 16:58:46 +02:00
4c4b336ecb
rename min word len for typo error
2022-04-01 11:17:03 +02:00
55af85db3c
add tests for min_word_len_for_typo
2022-04-01 11:17:02 +02:00
9102de5500
fix error message
2022-04-01 11:17:02 +02:00
5a24e60572
introduce word len for typo setting
2022-04-01 11:17:02 +02:00
66c6d5e1ef
Add a new error message when the valid_fields
is empty
...
> "Attribute `{}` is not sortable. This index doesn't have configured sortable attributes."
> "Attribute `{}` is not sortable. Available sortable attributes are: `{}`."
coexist in the error handling
2022-03-05 10:38:18 -03:00
f367cc2e75
Finally bump grenad to v0.4.1
2022-02-16 15:28:48 +01:00
6831c23449
merge with main
2021-11-06 16:34:30 +01:00
8234f9fdf3
recreate most filter error except for the geosearch
2021-11-04 17:24:55 +01:00
7b3bac46a0
Change Attribute and Ranking rules errors
2021-11-04 13:19:32 +01:00
0c0038488c
Change last error messages
2021-11-03 11:24:06 +01:00
ed6db19681
Fix PR comments
2021-10-28 11:18:32 +02:00
3599df77f0
Change some error messages
2021-10-27 19:33:01 +02:00
208903ddde
Revert "Replacing pest with nom "
2021-10-25 11:58:00 +02:00
5de5dd80a3
WIP: remove '_nom' suffix/redundant error enum/...
2021-10-13 11:06:15 +08:00
469d92c569
tweak error handling
2021-10-12 13:30:40 +08:00
f7796edc7e
remove everything about pest
2021-10-12 13:30:40 +08:00
50ad750ec1
enhance error handling
2021-10-12 13:30:40 +08:00
8748df2ca4
draft without error handling
2021-10-12 13:30:40 +08:00
785c1372f2
Change "settings" to "setting"
...
Co-authored-by: Clément Renault <renault.cle@gmail.com >
2021-09-28 20:11:32 +05:30
3580b2d803
Fixes #365
2021-09-28 19:30:23 +05:30
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
023446ecf3
create a smaller and easier to maintain CriterionError type
2021-09-22 16:37:41 +02:00
86e272856a
create an asc_desc error type that is never supposed to be returned to the end user
2021-09-22 16:37:41 +02:00
113a061bee
fix the error handling on the criterion side
2021-09-22 15:09:07 +02:00
aa6c5df0bc
Implement documents format
...
document reader transform
remove update format
support document sequences
fix document transform
clean transform
improve error handling
add documents! macro
fix transform bug
fix tests
remove csv dependency
Add comments on the transform process
replace search cli
fmt
review edits
fix http ui
fix clippy warnings
Revert "fix clippy warnings"
This reverts commit a1ce3cd96e603633dbf43e9e0b12b2453c9c5620.
fix review comments
remove smallvec in transform loop
review edits
2021-09-21 16:58:33 +02:00
f4b8e5675d
move the reserved keyword logic for the criterion and sort + add test
2021-09-20 17:21:02 +02:00
a84f3a8b31
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com >
2021-09-09 15:09:35 +02:00
c81ff22c5b
delete the invalid criterion name error in favor of invalid ranking rule name
2021-09-08 19:17:00 +02:00
bd4c248292
improve the error handling in general and introduce the concept of reserved keywords
2021-09-08 18:24:09 +02:00
932998f5cc
let the caller decide if they want to return an invalidSortName or an
...
invalidCriterionName error
2021-09-08 16:17:31 +02:00
8dca36433c
Introduce the new SortRankingRuleMissing user error variant
2021-09-07 11:01:59 +02:00
89d0758713
Revert "Revert "Sort at query time""
2021-08-24 11:55:16 +02:00
922f9fd4d5
Revert "Sort at query time"
2021-08-20 18:09:17 +02:00
1b7f6ea1e7
Return a new error when the sort criteria is not sortable
2021-08-18 15:04:07 +02:00
a6218a20ae
Introduce a new InvalidFacetsDistribution user error
2021-06-23 13:56:19 +02:00
aecbd14761
Improve the error message for InvalidDocumentId
2021-06-22 11:31:58 +02:00
9716fb3b36
format the whole project
2021-06-16 18:33:33 +02:00
adf0c389c5
Rename FilterParsing into InvalidFilter
2021-06-16 11:03:36 +02:00