Commit Graph

90 Commits

Author SHA1 Message Date
be192f281d Only mark the first clear document with the amount of cleared documents 2022-10-20 15:44:34 +02:00
99d1e9a870 Let the tick function set the Failed status itself 2022-10-20 15:44:34 +02:00
945cb00fc3 Fill an IndexDeletion task with the number of documents removed 2022-10-20 15:44:34 +02:00
b7ad050737 Panic if we encountered a wring KindWithContent type 2022-10-20 15:44:34 +02:00
f3f6bbf624 Update the tasks statuses 2022-10-20 15:44:33 +02:00
88a0ed9736 Implement the IndexDeletion batch operation 2022-10-20 15:44:33 +02:00
4a53cb1c50 Implement the IndexUpdate batch operation 2022-10-20 15:44:33 +02:00
617994a9d7 Implement the IndexCreate batch operation 2022-10-20 15:44:33 +02:00
8bffe41886 Remove the IndexRename operation 2022-10-20 15:43:02 +02:00
78e730ca37 Add a TODO about the index creation 2022-10-20 15:43:02 +02:00
373995dca9 Make clippy happy 2022-10-20 15:43:02 +02:00
3fda1942c0 Implement a recursive indexation for the index-related operations 2022-10-20 15:43:02 +02:00
e7ca5efe1e Implement the SettingsAndDocumentImport batch operation 2022-10-20 15:43:01 +02:00
e24715abe5 Merge both DocumentAddition/Update into one DocumentImport variant 2022-10-20 15:43:01 +02:00
9e1d7fbfe5 Implement the DocumentClear batch operation 2022-10-20 15:43:01 +02:00
eb8dda1f81 Implement the DocumentClearAndSettings batch operation 2022-10-20 15:43:01 +02:00
ad0d285f12 Implement the Settings batch operation 2022-10-20 15:43:01 +02:00
e84119fc75 Implement the DocumentUpdate batch operation 2022-10-20 15:43:01 +02:00
78922a7c67 Implement the DocumentDeletion batch operation 2022-10-20 15:43:00 +02:00
5cd1fc0b7b remove an old unworking part of the batch execution 2022-10-20 15:42:45 +02:00
2d31cff082 get rids of meilisearch-lib 2022-10-20 15:42:44 +02:00
2de8f08517 fix a deadlock 2022-10-20 15:36:10 +02:00
60ee1f5e64 wip integrating the scheduler in meilisearch-http 2022-10-20 15:34:55 +02:00
16eab7b337 I can index documents without meilisearch 2022-10-20 15:30:20 +02:00
7bbd75e1fb wip 2022-10-20 15:29:48 +02:00
a4bf859779 create the end Batch type for all Index* operations 2022-10-20 15:29:48 +02:00
72496122c3 create the end Batch type for all Document* operation 2022-10-20 15:29:48 +02:00
d7146d7b21 write most of the run loop 2022-10-20 15:29:48 +02:00
f84ced7e38 start integrating the index-scheduler in the meilisearch codebase 2022-10-20 15:28:50 +02:00
9882b7fa57 greatly reduce the number of warnings 2022-10-20 15:26:57 +02:00
1a4461cd3a fix smol typo 2022-10-20 15:26:57 +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
1efccb1bc4 polish the global structure of the batch creation 2022-10-20 15:26:06 +02:00
78ca4bf608 move the autobatcher logic to another file 2022-10-20 15:26:06 +02:00
0790a3cbbf fix the create_new_batch method 2022-10-20 15:26:06 +02:00
074dee59ec fix the whole batchKind thingy 2022-10-20 15:26:05 +02:00
e7b2b9306a wip porting the index back in the scheduler 2022-10-20 15:25:55 +02:00
2b77d54412 split the scheduler into multiples files 2022-10-20 15:25:41 +02:00