Tamo
13e8247f77
add the compat layer between v5 and v6
2022-10-20 15:44:53 +02:00
Tamo
f633e109dc
get rids of the trait in most places
2022-10-20 15:44:52 +02:00
Tamo
4958bf3a55
start writting the compat layer between v5 and v6
2022-10-20 15:44:52 +02:00
Tamo
998b3533f5
test the dump v5
2022-10-20 15:44:52 +02:00
Tamo
9d6987a412
write the v5 dump import
2022-10-20 15:44:52 +02:00
Tamo
22b2fa0576
introduce the index metadata
2022-10-20 15:44:52 +02:00
Tamo
b5ebab5c66
fix the tests
2022-10-20 15:44:51 +02:00
Tamo
e3bc87bf22
implement the dump reader v6
2022-10-20 15:44:51 +02:00
Tamo
b89ac5d7ac
start implementing a skeleton of the v1 dump reader
2022-10-20 15:44:51 +02:00
Tamo
e486878463
move the DumpWriter and Error to their own module
2022-10-20 15:44:51 +02:00
Tamo
568b743ac8
fix the dump export
2022-10-20 15:44:51 +02:00
Tamo
d2485cfed4
write a dump exporter
2022-10-20 15:44:51 +02:00
Clément Renault
a358eaa816
Create the index only if the task has the rights to do so
2022-10-20 15:44:35 +02:00
Clément Renault
134634d99a
Correctly batch tasks with different index creation rights
2022-10-20 15:44:35 +02:00
Clément Renault
cea19f5af1
Use a ControlFlow in the autobatcher function
2022-10-20 15:44:34 +02:00
Kerollmops
2a45d24143
IndexDeletion operation have ClearAll details
2022-10-20 15:44:34 +02:00
Kerollmops
be192f281d
Only mark the first clear document with the amount of cleared documents
2022-10-20 15:44:34 +02:00
Kerollmops
99d1e9a870
Let the tick function set the Failed status itself
2022-10-20 15:44:34 +02:00
Kerollmops
945cb00fc3
Fill an IndexDeletion task with the number of documents removed
2022-10-20 15:44:34 +02:00
Kerollmops
b7ad050737
Panic if we encountered a wring KindWithContent type
2022-10-20 15:44:34 +02:00
Kerollmops
f3f6bbf624
Update the tasks statuses
2022-10-20 15:44:33 +02:00
Kerollmops
88a0ed9736
Implement the IndexDeletion batch operation
2022-10-20 15:44:33 +02:00
Kerollmops
4a53cb1c50
Implement the IndexUpdate batch operation
2022-10-20 15:44:33 +02:00
Kerollmops
617994a9d7
Implement the IndexCreate batch operation
2022-10-20 15:44:33 +02:00
Kerollmops
4871509507
Make sure that meilisearch-http works without index wrapper
2022-10-20 15:44:33 +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
Kerollmops
478e3f0f6b
Remove the Index wrapper and use milli::Index directly
2022-10-20 15:43:03 +02:00
Kerollmops
8bffe41886
Remove the IndexRename operation
2022-10-20 15:43:02 +02:00
Kerollmops
257651c615
Move the IndexScheduler to the root of the index-scheduler crate
2022-10-20 15:43:02 +02:00
Kerollmops
78e730ca37
Add a TODO about the index creation
2022-10-20 15:43:02 +02:00
Kerollmops
373995dca9
Make clippy happy
2022-10-20 15:43:02 +02:00
Kerollmops
3fda1942c0
Implement a recursive indexation for the index-related operations
2022-10-20 15:43:02 +02:00
Kerollmops
248805d2df
Fix meilisearch-http to use the new DocumentImport batch operation
2022-10-20 15:43:02 +02:00
Kerollmops
e7ca5efe1e
Implement the SettingsAndDocumentImport batch operation
2022-10-20 15:43:01 +02:00
Kerollmops
e24715abe5
Merge both DocumentAddition/Update into one DocumentImport variant
2022-10-20 15:43:01 +02:00
Kerollmops
9e1d7fbfe5
Implement the DocumentClear batch operation
2022-10-20 15:43:01 +02:00
Kerollmops
eb8dda1f81
Implement the DocumentClearAndSettings batch operation
2022-10-20 15:43:01 +02:00
Kerollmops
ad0d285f12
Implement the Settings batch operation
2022-10-20 15:43:01 +02:00
Kerollmops
e84119fc75
Implement the DocumentUpdate batch operation
2022-10-20 15:43:01 +02:00
Kerollmops
78922a7c67
Implement the DocumentDeletion batch operation
2022-10-20 15:43:00 +02:00
Tamo
5cd1fc0b7b
remove an old unworking part of the batch execution
2022-10-20 15:42:45 +02:00
Tamo
0d0b2a9ac1
bring back the IndexMeta and IndexStats in meilisearch-http
2022-10-20 15:42:45 +02:00
Tamo
f4ecf75cda
fix import bug
2022-10-20 15:42:45 +02:00
Tamo
2064b65d5f
remove the create_app macro
2022-10-20 15:42:45 +02:00
Tamo
2d31cff082
get rids of meilisearch-lib
2022-10-20 15:42:44 +02:00
Tamo
2de8f08517
fix a deadlock
2022-10-20 15:36:10 +02:00
Tamo
972dd6bcef
remove Clone
from the IndexScheduler
2022-10-20 15:36:10 +02:00
Tamo
7f1a85d443
remove a bunch of comments
2022-10-20 15:36:10 +02:00
Tamo
e43d5e9abe
move as many fields as possible out of the IndexScheduler
2022-10-20 15:36:09 +02:00