Commit Graph

87 Commits

Author SHA1 Message Date
67566af599 Implement a first version of the snapshots 2022-10-26 11:33:27 +02:00
e65f82bc86 Rename the Snapshot task into SnapshotCreation 2022-10-26 11:33:27 +02:00
0218d94054 Merge pull request #2956 from meilisearch/index-swap-empty-crash
Fix crash when batching an index swap task containing 0 swaps
2022-10-25 11:12:35 +02:00
d0c93e3573 rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826) 2022-10-25 11:02:26 +02:00
8d5d92f927 Fix crash when batching an index swap task containing 0 swaps 2022-10-25 10:57:03 +02:00
3e45fdf7c5 rename the dumpExport to dumpCreation 2022-10-24 19:08:15 +02:00
2b8b9e0418 Fix the /swap-indexes route API
1. payload
2. error messages
3. auth errors
2022-10-24 17:53:14 +02:00
3283bb0454 fix clippy 2022-10-22 17:04:47 +02:00
e35bc48ba6 fix all the snapshots 2022-10-22 16:24:48 +02:00
3610a6ee8f remove the public DocumentClear variant 2022-10-22 16:07:55 +02:00
d507e6ddac fix the invalid index uid errors 2022-10-22 16:07:55 +02:00
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
85d567e878 Sort the TOML dependencies 2022-10-20 18:03:35 +02:00
3f6bd7fb11 Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
5dd9ba3079 Reapply #2819 2022-10-20 17:35:22 +02:00
d01d29764e Reapply #2773 2022-10-20 17:27:15 +02:00
5e8a34ea13 Reapply #2727 2022-10-20 17:24:15 +02:00
14a44776f6 Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
f3c2be1eb5 fix the auto-generated details 2022-10-20 16:37:29 +02:00
07db4cfab0 Prefer using an u64 instead of a usize in some places 2022-10-20 16:37:27 +02:00
afafe8d207 Put the original URL query in the tasks details 2022-10-20 16:37:26 +02:00
973e2f71eb Add the tasks cancel route to cancel tasks 2022-10-20 16:37:26 +02:00
01ed1fb128 Update the canceledBy and finishedAt fields 2022-10-20 16:37:26 +02:00
74657bba2c Introduce the core algorithm of task cancelation 2022-10-20 16:37:26 +02:00
6276b2a382 Add more enum-iterator related stuff 2022-10-20 16:37:26 +02:00
bcb7d1744a Introduce the task cancelation task type 2022-10-20 16:35:06 +02:00
4a7b5c7836 Add the canceled task status 2022-10-20 16:35:05 +02:00
47168c613d Use the indexation-abortion milli's branch 2022-10-20 16:35:05 +02:00
aff67f78c1 bump enum-iter and fix a bunch of error messages 2022-10-20 16:24:23 +02:00
99f1d5df20 fix the tests 2022-10-20 16:14:37 +02:00
458a531547 rebase on index-scheduler 2022-10-20 16:14:35 +02:00
cac924b663 first mostly working version 2022-10-20 16:13:16 +02:00
9323f9f1c4 write the dump export 2022-10-20 16:12:25 +02:00
dabc30d3d6 Return an error when calling DELETE /tasks with an empty query 2022-10-20 16:09:32 +02:00
9067148270 Apply suggested changes from PR review 2022-10-20 16:09:32 +02:00
012c3e986c Finish first draft of the DELETE /tasks route 2022-10-20 16:09:32 +02:00
ef3e9e87f5 Continue implementation of task deletion
1. Matched tasks are a roaring bitmap
2. Start implementation in meilisearch-http
3. Snapshots use meili-snap
4. Rename to TaskDeletion
2022-10-20 16:08:16 +02:00
dc1d739785 move the API key in meilisearch_types 2022-10-20 16:00:58 +02:00
c0a6f7a021 uncomment a task serialization test 2022-10-20 15:59:53 +02:00
e533e740d4 refactor the Task a little bit 2022-10-20 15:59:52 +02:00
e6c033bd6b start moving a lot of task types to meilisearch_types 2022-10-20 15:59:52 +02:00
d8bbe18d71 push the document_format and settings I forgot in the previous PR 2022-10-20 15:57:53 +02:00
f456fb5e0b get rids of the index crate + the document_types crate 2022-10-20 15:57:52 +02:00
4958bf3a55 start writting the compat layer between v5 and v6 2022-10-20 15:44:52 +02:00
b7898cd4ab Implement ErrorCode on the heed Error 2022-10-20 15:44:33 +02:00
b83710ea98 Implement ErrorCode on the milli::Error type 2022-10-20 15:44:32 +02:00
2d31cff082 get rids of meilisearch-lib 2022-10-20 15:42:44 +02:00
1b72eba1f3 Merge #2867
2867: Bring back `stable` into `main` r=Kerollmops a=curquiza

Following hotfix for v0.29.1

Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
2022-10-06 14:14:23 +00:00
05af8f0e46 Update version for next release (v0.29.1) 2022-10-06 10:27:11 +02:00
a2c91a87fe Upgrade dependencies
Except:
- clap stays on 3.0 because it is more complicated to upgrade
- enum_iterator goes up to 1.1.2 instead of 1.2 because of the vergen
dependency
2022-10-05 15:53:02 +02:00