Commit Graph

49 Commits

Author SHA1 Message Date
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
3f6bd7fb11 Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
5dd9ba3079 Reapply #2819 2022-10-20 17:35:22 +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
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
83e20027fd 📎 makes clippy happy 2022-08-12 14:18:27 +02:00
b8745420da Use the IndexUid and StarOr in meilisearch_auth::Key
Move `meilisearch_http::routes::StarOr` to `meilisearch_types::star_or`

Fixes #2158
2022-06-09 16:14:15 +02:00
36cb09eb25 Add a new meilisearch_types crate
Move `meilisearch_error` to `meilisearch_types::error`
Move `meilisearch_lib::index_resolver::IndexUid` to `meilisearch_types::index_uid`
Add a new `InvalidIndexUid` error in `meilisearch_types::index_uid`
2022-06-09 16:14:13 +02:00
abca68bf24 Remove legacy source code 2021-06-30 15:20:17 +02:00
788e2202c9 Reduce the DocumentId size from 64 to 32bits 2020-05-20 14:19:00 +02:00
dc9ca2ebc9 fixes for review 2020-02-12 16:51:14 +01:00
130fb74928 introduce a new schemaless way 2020-02-11 15:27:54 +01:00
40dab80dfa Change the way we filter the documents 2020-01-14 14:18:01 +01:00
1e1f0fcaf5 Introduce a basic cache system for first letters 2019-12-30 15:42:08 +01:00
7cc096e0a2 Rename MeiliDB into MeiliSearch 2019-11-26 11:12:30 +01:00