d0c93e3573
rename received_document_ids to matched_documents in the DocumentDeletion task type (reimplementation of #2826 )
2022-10-25 11:02:26 +02:00
3f5622f749
fix the task view and forward the task db size
2022-10-23 11:23:24 +02:00
3283bb0454
fix clippy
2022-10-22 17:04:47 +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
3f6bd7fb11
Introduce a rustfmt file
2022-10-20 18:00:07 +02:00
dd57e051d7
Reapply #2890
2022-10-20 17:44:15 +02:00
14a44776f6
Implement POST /indexes-swap
2022-10-20 16:39:23 +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
07db4cfab0
Prefer using an u64 instead of a usize in some places
2022-10-20 16:37:27 +02:00
4f1c0535b4
Use a tokio block_in_place method for potentially blocking tasks
2022-10-20 16:37:27 +02:00
afafe8d207
Put the original URL query in the tasks details
2022-10-20 16:37:26 +02:00
973e2f71eb
Add the tasks cancel route to cancel tasks
2022-10-20 16:37:26 +02:00
01ed1fb128
Update the canceledBy and finishedAt fields
2022-10-20 16:37:26 +02:00
74657bba2c
Introduce the core algorithm of task cancelation
2022-10-20 16:37:26 +02:00
4921e926e5
fix meilisearch-http
2022-10-20 16:14:37 +02:00
9323f9f1c4
write the dump export
2022-10-20 16:12:25 +02:00
dabc30d3d6
Return an error when calling DELETE /tasks with an empty query
2022-10-20 16:09:32 +02:00
9067148270
Apply suggested changes from PR review
2022-10-20 16:09:32 +02:00
012c3e986c
Finish first draft of the DELETE /tasks route
2022-10-20 16:09:32 +02:00
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
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
2d31cff082
get rids of meilisearch-lib
2022-10-20 15:42:44 +02:00
f84cbee170
implements the get_tasks
2022-10-20 15:34:55 +02:00
60ee1f5e64
wip integrating the scheduler in meilisearch-http
2022-10-20 15:34:55 +02:00
72c1aef1c4
fix: add handle dumpCreation query on tasks request
2022-10-11 19:36:04 +05:45
83e20027fd
📎 makes clippy happy
2022-08-12 14:18:27 +02:00
a9fb5a4d50
Introduce the Tasks Seen event when filtering
2022-07-07 11:39:23 +02:00
b8745420da
Use the IndexUid
and StarOr
in meilisearch_auth::Key
...
Move `meilisearch_http::routes::StarOr` to `meilisearch_types::star_or`
Fixes #2158
2022-06-09 16:14:15 +02:00
36cb09eb25
Add a new meilisearch_types
crate
...
Move `meilisearch_error` to `meilisearch_types::error`
Move `meilisearch_lib::index_resolver::IndexUid` to `meilisearch_types::index_uid`
Add a new `InvalidIndexUid` error in `meilisearch_types::index_uid`
2022-06-09 16:14:13 +02:00
277a0a7967
Bump serde-cs to simplify our usage of the star_or function
2022-06-06 10:17:33 +02:00
64b5b2e1f8
Use serde-cs::CS with StarOr to reduce the logic duplication
2022-06-06 10:06:00 +02:00
0c5352fc22
move index_uid from task to task_content
2022-06-02 15:30:35 +02:00
dfce9ba468
Apply suggestions
2022-06-02 11:26:12 +02:00
d80e8b64af
Align the tasks route API to the new spec
2022-06-01 15:30:39 +02:00
c11d21879a
Introduce tasks limit and after to the tasks route
2022-06-01 13:26:36 +02:00
9d5cc88cd5
Implement the seek-based tasks list pagination
2022-06-01 12:09:52 +02:00
47007fa71b
Merge #2446
...
2446: rename Succeded to Succeeded r=irevoire a=MarinPostma
this pr renames `TaskEvent::Succeded` to `TaskEvent::Succeeded` and apply the migration to the dumps
Co-authored-by: ad hoc <postma.marin@protonmail.com >
2022-05-31 18:27:02 +00:00
446f1f31e0
rename Succeded to Succeeded
2022-05-31 17:22:37 +02:00
ddad6cc069
feat(http): update the documents resource
...
- Return Documents API resources on `/documents` in an array in the the results field.
- Add limit, offset and total in the response body.
- Rename `attributesToRetrieve` into `fields` (only for the `/documents` endpoints, not for the `/search` ones).
- The `displayedAttributes` settings does not impact anymore the displayed fields returned in the `/documents` endpoints. These settings only impacts the `/search` endpoint.
Fix #2372
2022-05-31 16:40:40 +02:00
1465b5e0ff
Refactorize the tasks filters by moving the match inside
2022-05-31 11:33:21 +02:00
8800b348f0
Implement the StarOr on all the tasks filters
2022-05-31 11:33:21 +02:00
082d6b89ff
Make the StarOrIndexUid Generic and call it StarOr
2022-05-31 11:33:21 +02:00
b82c86c8f5
Allow users to filter indexUid with a *
2022-05-31 11:33:20 +02:00
36d94257d8
Make clippy happy
2022-05-31 11:33:20 +02:00
3f80468f18
Rename the Tasks Types
2022-05-31 11:33:20 +02:00
8509243e68
Implement the status and type filtering on the tasks route
2022-05-31 11:33:20 +02:00
3684c822f1
Add indexUid filtering on the /tasks route
2022-05-31 11:33:20 +02:00