Irevoire
d0c93e3573
rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826 )
2022-10-25 11:02:26 +02:00
Irevoire
2a1f4ac4d9
remove a lot of unecessary clone and ref
2022-10-25 10:53:29 +02:00
Irevoire
3e45fdf7c5
rename the dumpExport to dumpCreation
2022-10-24 19:08:15 +02:00
Irevoire
581d8b0a94
move the error types to meilisearch-http
2022-10-24 17:53:14 +02:00
Loïc Lecrenier
2b8b9e0418
Fix the /swap-indexes route API
...
1. payload
2. error messages
3. auth errors
2022-10-24 17:53:14 +02:00
Irevoire
3f5622f749
fix the task view and forward the task db size
2022-10-23 11:23:24 +02:00
Irevoire
b0bfc3bdbd
reformat
2022-10-22 17:06:20 +02:00
Irevoire
3283bb0454
fix clippy
2022-10-22 17:04:47 +02:00
Irevoire
94270f882a
ignore the snapshot test
2022-10-22 16:07:55 +02:00
Irevoire
8bda5e0787
fix the autobatched document deletion
2022-10-22 16:07:55 +02:00
Irevoire
dca8bc4a15
ensure the indexUid is valid in most cases
2022-10-22 16:07:55 +02:00
Irevoire
c57804f5b1
ensure the index_uid is valid when creating an index
2022-10-22 16:07:55 +02:00
Irevoire
d507e6ddac
fix the invalid index uid errors
2022-10-22 16:07:55 +02:00
Irevoire
621dbb8159
fix most content file error
2022-10-22 16:07:55 +02:00
Irevoire
e0b6206097
fix the payload too large error
2022-10-22 16:07:55 +02:00
Irevoire
950606cd36
fix the api keys for the tasks route
2022-10-22 16:07:55 +02:00
Irevoire
8a39be9d41
fix the deletion of the data.ms in case of failure
2022-10-22 16:07:55 +02:00
Irevoire
d065a3e4f0
fix the import of the dumpv4&v5 when there is no instance-uid + rename the Kind+KindWithContent+Details variant for the DocumentImport and the Setting
2022-10-22 16:07:55 +02:00
Irevoire
5bb9023722
fix the error messages and the index stats
2022-10-22 16:07:55 +02:00
Clément Renault
85d567e878
Sort the TOML dependencies
2022-10-20 18:03:35 +02:00
Clément Renault
3f6bd7fb11
Introduce a rustfmt file
2022-10-20 18:00:07 +02:00
Clément Renault
dd57e051d7
Reapply #2890
2022-10-20 17:44:15 +02:00
Clément Renault
2d86304701
Reapply #2839
2022-10-20 17:38:57 +02:00
Clément Renault
e35bd263df
Fix final compilation
2022-10-20 17:08:52 +02:00
Clément Renault
cf58a76faf
Fix the new config file with the index scheduler
2022-10-20 16:49:19 +02:00
Loïc Lecrenier
22d514645e
Don't return an error when swapping 0 indexes
2022-10-20 16:39:23 +02:00
Loïc Lecrenier
14a44776f6
Implement POST /indexes-swap
2022-10-20 16:39:23 +02:00
Loïc Lecrenier
835745ac22
Add some documentation to the index scheduler
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
5205c7dcc7
Fix date parsing for task queries
...
Use rfc3339 or YYYY-MM-DD.
Add a day to the parsed date when it is an excluded lower bound
and the YYYY-MM-DD was used.
Also the Query type does not need to be serialisable anymore
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
af508b9a81
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com>
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Apply code review suggestion
Co-authored-by: Clément Renault <clement@meilisearch.com>
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
1eeef1c1c8
Implement task date filters
...
before/after enqueued/started/finished at
2022-10-20 16:39:21 +02:00
Kerollmops
07db4cfab0
Prefer using an u64 instead of a usize in some places
2022-10-20 16:37:27 +02:00
Kerollmops
4f1c0535b4
Use a tokio block_in_place method for potentially blocking tasks
2022-10-20 16:37:27 +02:00
Kerollmops
afafe8d207
Put the original URL query in the tasks details
2022-10-20 16:37:26 +02:00
Kerollmops
973e2f71eb
Add the tasks cancel route to cancel tasks
2022-10-20 16:37:26 +02:00
Kerollmops
01ed1fb128
Update the canceledBy and finishedAt fields
2022-10-20 16:37:26 +02:00
Kerollmops
74657bba2c
Introduce the core algorithm of task cancelation
2022-10-20 16:37:26 +02:00
Kerollmops
bcb7d1744a
Introduce the task cancelation task type
2022-10-20 16:35:06 +02:00
Tamo
7308ccd530
make the tests compile again
2022-10-20 16:34:32 +02:00
Tamo
656f809b1d
fix the analytics
2022-10-20 16:26:17 +02:00
Tamo
65e69c06bc
extract the create_app function for the tests
2022-10-20 16:26:17 +02:00
Tamo
4921e926e5
fix meilisearch-http
2022-10-20 16:14:37 +02:00
Tamo
dbcc3456c6
dump the content of the dump tasks instead of recreating at import time with wrong API keys
2022-10-20 16:14:36 +02:00
Tamo
860d343831
get rids of the useless Seek before creating a grenad reader
2022-10-20 16:14:36 +02:00
Tamo
b87b071718
apply most style comments of the review
2022-10-20 16:14:36 +02:00
Tamo
6987bc185e
fix a synchronization bug while importing tasks
2022-10-20 16:13:18 +02:00
Tamo
54d4d364c2
fix the deletion of the data.ms in case of errors
2022-10-20 16:13:17 +02:00
Tamo
cac924b663
first mostly working version
2022-10-20 16:13:16 +02:00
Tamo
9323f9f1c4
write the dump export
2022-10-20 16:12:25 +02:00
Loïc Lecrenier
dabc30d3d6
Return an error when calling DELETE /tasks with an empty query
2022-10-20 16:09:32 +02:00