Commit Graph

21 Commits

Author SHA1 Message Date
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
8433a432b1 Extract index creation rights and simplify the autobatcher rules 2022-10-20 16:00:58 +02:00
dc1d739785 move the API key in meilisearch_types 2022-10-20 16:00:58 +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
f456fb5e0b get rids of the index crate + the document_types crate 2022-10-20 15:57:52 +02:00
ccfe1babdc Add more task deletion tests 2022-10-20 15:45:57 +02:00
05753c663f Implement TaskDeletion in the index scheduler 2022-10-20 15:44:58 +02:00
134634d99a Correctly batch tasks with different index creation rights 2022-10-20 15:44:35 +02:00
cea19f5af1 Use a ControlFlow in the autobatcher function 2022-10-20 15:44:34 +02:00
8bffe41886 Remove the IndexRename operation 2022-10-20 15:43:02 +02:00
373995dca9 Make clippy happy 2022-10-20 15:43:02 +02:00
e24715abe5 Merge both DocumentAddition/Update into one DocumentImport variant 2022-10-20 15:43:01 +02:00
f58d969899 slightly refactor the autobatching tests 2022-10-20 15:34:55 +02:00
e7c552a0d0 reduce the size of the snapshots 2022-10-20 15:28:50 +02:00
9882b7fa57 greatly reduce the number of warnings 2022-10-20 15:26:57 +02:00
5b485e309c add a bunch of tests 2022-10-20 15:26:45 +02:00
3120057039 split the DocumentAdditionOrUpdate in two tasks; DocumentAddition and DocumentUpdate 2022-10-20 15:26:33 +02:00
00f13f45b6 starts importing the real tasks 2022-10-20 15:26:32 +02:00
98bb742d77 finishes the global skelton of the auto-batcher 2022-10-20 15:26:06 +02:00
78ca4bf608 move the autobatcher logic to another file 2022-10-20 15:26:06 +02:00