47 Commits

Author SHA1 Message Date
Irevoire
3283bb0454
fix clippy 2022-10-22 17:04:47 +02:00
Irevoire
e35bc48ba6 fix all the snapshots 2022-10-22 16:24:48 +02:00
Irevoire
3610a6ee8f remove the public DocumentClear variant 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
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
Clément Renault
3f6bd7fb11
Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
Clément Renault
5dd9ba3079
Reapply #2819 2022-10-20 17:35:22 +02:00
Clément Renault
5e8a34ea13
Reapply #2727 2022-10-20 17:24:15 +02:00
Loïc Lecrenier
14a44776f6
Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
Irevoire
f3c2be1eb5
fix the auto-generated details 2022-10-20 16:37:29 +02:00
Kerollmops
07db4cfab0
Prefer using an u64 instead of a usize in some places 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
6276b2a382
Add more enum-iterator related stuff 2022-10-20 16:37:26 +02:00
Kerollmops
bcb7d1744a
Introduce the task cancelation task type 2022-10-20 16:35:06 +02:00
Kerollmops
4a7b5c7836
Add the canceled task status 2022-10-20 16:35:05 +02:00
Tamo
aff67f78c1
bump enum-iter and fix a bunch of error messages 2022-10-20 16:24:23 +02:00
Tamo
99f1d5df20
fix the tests 2022-10-20 16:14:37 +02:00
Tamo
458a531547
rebase on index-scheduler 2022-10-20 16:14:35 +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
Loïc Lecrenier
9067148270
Apply suggested changes from PR review 2022-10-20 16:09:32 +02:00
Loïc Lecrenier
012c3e986c
Finish first draft of the DELETE /tasks route 2022-10-20 16:09:32 +02:00
Loïc Lecrenier
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
Tamo
dc1d739785
move the API key in meilisearch_types 2022-10-20 16:00:58 +02:00
Tamo
c0a6f7a021
uncomment a task serialization test 2022-10-20 15:59:53 +02:00
Tamo
e533e740d4
refactor the Task a little bit 2022-10-20 15:59:52 +02:00
Tamo
e6c033bd6b
start moving a lot of task types to meilisearch_types 2022-10-20 15:59:52 +02:00
Tamo
d8bbe18d71
push the document_format and settings I forgot in the previous PR 2022-10-20 15:57:53 +02:00
Tamo
f456fb5e0b
get rids of the index crate + the document_types crate 2022-10-20 15:57:52 +02:00
Tamo
4958bf3a55
start writting the compat layer between v5 and v6 2022-10-20 15:44:52 +02:00
Kerollmops
b7898cd4ab
Implement ErrorCode on the heed Error 2022-10-20 15:44:33 +02:00
Kerollmops
b83710ea98
Implement ErrorCode on the milli::Error type 2022-10-20 15:44:32 +02:00
Tamo
2d31cff082
get rids of meilisearch-lib 2022-10-20 15:42:44 +02:00
Irevoire
83e20027fd
📎 makes clippy happy 2022-08-12 14:18:27 +02:00
pierre-l
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
pierre-l
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
Clémentine Urquizar
abca68bf24
Remove legacy source code 2021-06-30 15:20:17 +02:00
Kerollmops
788e2202c9
Reduce the DocumentId size from 64 to 32bits 2020-05-20 14:19:00 +02:00
qdequele
dc9ca2ebc9
fixes for review 2020-02-12 16:51:14 +01:00
qdequele
130fb74928
introduce a new schemaless way 2020-02-11 15:27:54 +01:00
Clément Renault
40dab80dfa
Change the way we filter the documents 2020-01-14 14:18:01 +01:00
Clément Renault
1e1f0fcaf5
Introduce a basic cache system for first letters 2019-12-30 15:42:08 +01:00
Clément Renault
7cc096e0a2
Rename MeiliDB into MeiliSearch 2019-11-26 11:12:30 +01:00