Commit Graph

4313 Commits

Author SHA1 Message Date
e35bc48ba6 fix all the snapshots 2022-10-22 16:24:48 +02:00
b910e65a1d update all the snapshots with the new kind name 2022-10-22 16:24:48 +02:00
948f7bb49f fix the snapshot tests of the dump after renaming a bunch of kinds 2022-10-22 16:24:48 +02:00
94270f882a ignore the snapshot test 2022-10-22 16:07:55 +02:00
3610a6ee8f remove the public DocumentClear variant 2022-10-22 16:07:55 +02:00
8bda5e0787 fix the autobatched document deletion 2022-10-22 16:07:55 +02:00
dca8bc4a15 ensure the indexUid is valid in most cases 2022-10-22 16:07:55 +02:00
2387db8ab7 fix the index creation in case an index already exists 2022-10-22 16:07:55 +02:00
c57804f5b1 ensure the index_uid is valid when creating an index 2022-10-22 16:07:55 +02:00
9219bec053 fix the failed document addition with a primary key 2022-10-22 16:07:55 +02:00
d507e6ddac fix the invalid index uid errors 2022-10-22 16:07:55 +02:00
621dbb8159 fix most content file error 2022-10-22 16:07:55 +02:00
e0b6206097 fix the payload too large error 2022-10-22 16:07:55 +02:00
950606cd36 fix the api keys for the tasks route 2022-10-22 16:07:55 +02:00
8a39be9d41 fix the deletion of the data.ms in case of failure 2022-10-22 16:07:55 +02:00
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
5bb9023722 fix the error messages and the index stats 2022-10-22 16:07:55 +02:00
e495e2ec9d fix the index creation 2022-10-21 13:58:58 +02:00
85d567e878 Sort the TOML dependencies v0.30.0-new-index-scheduler.beta.0 2022-10-20 18:03:35 +02:00
3f6bd7fb11 Introduce a rustfmt file 2022-10-20 18:00:07 +02:00
dd57e051d7 Reapply #2890 2022-10-20 17:44:15 +02:00
2d86304701 Reapply #2839 2022-10-20 17:38:57 +02:00
5dd9ba3079 Reapply #2819 2022-10-20 17:35:22 +02:00
2338eff20b Reapply #2830 2022-10-20 17:33:31 +02:00
d01d29764e Reapply #2773 2022-10-20 17:27:15 +02:00
5e8a34ea13 Reapply #2727 2022-10-20 17:24:15 +02:00
eae2c353eb Remove once for all the meilisearch-lib crate 2022-10-20 17:21:37 +02:00
e35bd263df Fix final compilation 2022-10-20 17:08:52 +02:00
cf58a76faf Fix the new config file with the index scheduler 2022-10-20 16:49:19 +02:00
2a51161258 Fix allow_index_creation useless field 2022-10-20 16:39:25 +02:00
a257904cf4 Fix the insta tests 2022-10-20 16:39:25 +02:00
cb3ccee401 push the snapshot files 2022-10-20 16:39:25 +02:00
f1acafcf1c fix the index deletion when the index doesn’t exists but would be created by one of the autobatched tasks 2022-10-20 16:39:24 +02:00
f816dc5221 fix the last rule about merging the allow_index_creation 2022-10-20 16:39:24 +02:00
6966256a3b simplify the code A LOT and create less false positive 2022-10-20 16:39:24 +02:00
1fa6193f48 add a whole new batch of tests around the index already exists / allow_index_creation 2022-10-20 16:39:24 +02:00
a65317982f fix all the snapshot tests 2022-10-20 16:39:24 +02:00
3357c439e3 it probably works but it's also horrendous 2022-10-20 16:39:23 +02:00
22d514645e Don't return an error when swapping 0 indexes 2022-10-20 16:39:23 +02:00
8514c1c12b Apply review suggestions and stop using rtxn.commit 2022-10-20 16:39:23 +02:00
14a44776f6 Implement POST /indexes-swap 2022-10-20 16:39:23 +02:00
bdb3702510 Remove key from index_tasks database when the value is empty 2022-10-20 16:39:23 +02:00
835745ac22 Add some documentation to the index scheduler 2022-10-20 16:39:22 +02:00
2f54dade04 fix all the snapshot tests in the dump 2022-10-20 16:39:22 +02:00
50d48df636 Fix bug where assert used != instead of ==
And update snapshot tests.
2022-10-20 16:39:22 +02:00
ffd5cb5ad3 cargo fmt 2022-10-20 16:39:22 +02:00
5205c7dcc7 Fix date parsing for task queries
Use rfc3339 or YYYY-MM-DD.

Add a day to the parsed date when it is an excluded lower bound
and the YYYY-MM-DD was used.

Also the Query type does not need to be serialisable anymore
2022-10-20 16:39:22 +02:00
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
1eeef1c1c8 Implement task date filters
before/after enqueued/started/finished at
2022-10-20 16:39:21 +02:00
f3c2be1eb5 fix the auto-generated details 2022-10-20 16:37:29 +02:00