Clément Renault
3f6bd7fb11
Introduce a rustfmt file
2022-10-20 18:00:07 +02:00
Loïc Lecrenier
14a44776f6
Implement POST /indexes-swap
2022-10-20 16:39:23 +02:00
Loïc Lecrenier
bdb3702510
Remove key from index_tasks database when the value is empty
2022-10-20 16:39:23 +02:00
Loïc Lecrenier
50d48df636
Fix bug where assert used != instead of ==
...
And update snapshot tests.
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
ffd5cb5ad3
cargo fmt
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
af508b9a81
Apply suggestions from code review
...
Co-authored-by: Clément Renault <clement@meilisearch.com>
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Apply suggestions from code review
Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Apply code review suggestion
Co-authored-by: Clément Renault <clement@meilisearch.com>
2022-10-20 16:39:22 +02:00
Loïc Lecrenier
1eeef1c1c8
Implement task date filters
...
before/after enqueued/started/finished at
2022-10-20 16:39:21 +02:00
Kerollmops
ad05bd9156
Remove the useless r#union thing
2022-10-20 16:37:28 +02:00
Kerollmops
6276b2a382
Add more enum-iterator related stuff
2022-10-20 16:37:26 +02:00
Loïc Lecrenier
7ce336306d
Fix number of deleted tasks details after duplicate task deletion
2022-10-20 16:09:33 +02:00
Kerollmops
7d4527728e
Make sure that we do not batch tasks from different indexes
2022-10-20 16:00:58 +02:00
Tamo
e6c033bd6b
start moving a lot of task types to meilisearch_types
2022-10-20 15:59:52 +02:00
Tamo
f456fb5e0b
get rids of the index crate + the document_types crate
2022-10-20 15:57:52 +02:00
Kerollmops
373995dca9
Make clippy happy
2022-10-20 15:43:02 +02:00
Tamo
42f5c1fc3f
connect the new scheduler to meilisearch-http officially.
...
I can index documents and do search
2022-10-20 15:34:55 +02:00
Tamo
d7146d7b21
write most of the run loop
2022-10-20 15:29:48 +02:00
Tamo
f84ced7e38
start integrating the index-scheduler in the meilisearch codebase
2022-10-20 15:28:50 +02:00
Tamo
074dee59ec
fix the whole batchKind thingy
2022-10-20 15:26:05 +02:00
Tamo
fa27485070
makes the updates getters smoother to uses
2022-10-20 15:26:05 +02:00
Tamo
7c56fcfef3
make the project compile again
2022-10-20 15:26:05 +02:00
Irevoire
e7b2b9306a
wip porting the index back in the scheduler
2022-10-20 15:25:55 +02:00
Irevoire
a2587149f4
add a little bit of documentation
2022-10-20 15:25:42 +02:00
Tamo
c1eda13e64
add the task to the index db in the register task
2022-10-20 15:25:41 +02:00
Tamo
2b77d54412
split the scheduler into multiples files
2022-10-20 15:25:41 +02:00