bors[bot]
b83455f345
Merge #2454
...
2454: Unify the pagination of the index and documents route behind a common type r=curquiza a=irevoire
`@MarinPostma` wdyt of keeping the `auto_paginate_sized` until we implement the pagination on every route that needs it just to see if it could be useful to something else
Co-authored-by: Tamo <tamo@meilisearch.com>
2022-06-02 15:01:43 +00:00
ad hoc
0c5352fc22
move index_uid from task to task_content
2022-06-02 15:30:35 +02:00
Tamo
12b5eabd5d
chore(http): unify the pagination of the index and documents route behind a common type
2022-06-02 14:06:56 +02:00
bors[bot]
cf2d8de48a
Merge #2452
...
2452: Change http verbs r=ManyTheFish a=Kerollmops
This PR fixes #2419 by updating the HTTP verbs used to update the settings and every single setting parameter.
- [x] `PATCH /indexes/{indexUid}` instead of `PUT`
- [x] `PATCH /indexes/{indexUid}/settings` instead of `POST`
- [x] `PATCH /indexes/{indexUid}/settings/typo-tolerance` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/displayed-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/distinct-attribute` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/filterable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/ranking-rules` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/searchable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/sortable-attributes` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/stop-words` instead of `POST`
- [x] `PUT /indexes/{indexUid}/settings/synonyms` instead of `POST`
Co-authored-by: Kerollmops <clement@meilisearch.com>
2022-06-02 11:46:17 +00:00
bors[bot]
c9cd1738a5
Merge #2445
...
2445: Seek-based tasks list r=Kerollmops a=Kerollmops
This PR implements the seek-based pagination for the tasks list following [the spec](https://github.com/meilisearch/specifications/pull/115 ).
Co-authored-by: Kerollmops <clement@meilisearch.com>
2022-06-02 10:25:54 +00:00
Kerollmops
10a71fdb10
Update the /indexes/{indexUid}/settings/* verbs by adding a macro parameter
2022-06-02 11:55:47 +02:00
Kerollmops
f8d3f739ad
Update the /indexes/{indexUid}/settings verb from POST to PATCH
2022-06-02 11:55:47 +02:00
Kerollmops
bb405aa729
Update the /indexes/{indexUid} verb from PUT to PATCH
2022-06-02 11:55:47 +02:00
Kerollmops
dfce9ba468
Apply suggestions
2022-06-02 11:26:12 +02:00
ManyTheFish
4512eed8f5
Fix PR comments
2022-06-01 18:06:20 +02:00
ManyTheFish
b3c8915702
Make small changes and renaming
2022-06-01 16:08:42 +02:00
ManyTheFish
34c8888f56
Add keys actions
2022-06-01 16:07:44 +02:00
ManyTheFish
96a5791e39
Add uid and name fields in keys
2022-06-01 16:07:44 +02:00
Kerollmops
d80e8b64af
Align the tasks route API to the new spec
2022-06-01 15:30:39 +02:00
Kerollmops
c11d21879a
Introduce tasks limit and after to the tasks route
2022-06-01 13:26:36 +02:00
Kerollmops
9d5cc88cd5
Implement the seek-based tasks list pagination
2022-06-01 12:09:52 +02:00
bors[bot]
e81c7aa2e6
Merge #2423
...
2423: Paginate the index resource r=MarinPostma a=irevoire
Fix #2373
Co-authored-by: Irevoire <tamo@meilisearch.com>
2022-05-31 19:25:25 +00:00
bors[bot]
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
Irevoire
627f13df85
feat(http): paginate the index resource
...
Fix #2373
2022-05-31 18:11:45 +02:00
ad hoc
446f1f31e0
rename Succeded to Succeeded
2022-05-31 17:22:37 +02:00
Irevoire
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
Kerollmops
1465b5e0ff
Refactorize the tasks filters by moving the match inside
2022-05-31 11:33:21 +02:00
Kerollmops
8800b348f0
Implement the StarOr on all the tasks filters
2022-05-31 11:33:21 +02:00
Kerollmops
082d6b89ff
Make the StarOrIndexUid Generic and call it StarOr
2022-05-31 11:33:21 +02:00
Kerollmops
b82c86c8f5
Allow users to filter indexUid with a *
2022-05-31 11:33:20 +02:00
Kerollmops
36d94257d8
Make clippy happy
2022-05-31 11:33:20 +02:00
Kerollmops
3f80468f18
Rename the Tasks Types
2022-05-31 11:33:20 +02:00
Kerollmops
8509243e68
Implement the status and type filtering on the tasks route
2022-05-31 11:33:20 +02:00
Kerollmops
3684c822f1
Add indexUid filtering on the /tasks route
2022-05-31 11:33:20 +02:00
Kerollmops
80f7d87356
Remove the /indexes/:indexUid/tasks/... routes
2022-05-31 11:33:20 +02:00
Kerollmops
e5ef5a6f9c
Remove an unused updates.rs file
2022-05-31 11:33:19 +02:00
ad hoc
4778884105
remove dump status route
2022-05-25 11:13:34 +02:00
ad hoc
60a8249de6
add dump batch handler
2022-05-25 11:13:34 +02:00
ad hoc
7fa3eb1003
register dump tasks
2022-05-25 11:13:33 +02:00
Irevoire
4e9accdeb7
chore(search): rename in the search endpoint
...
Fix ##2376
2022-05-19 16:31:37 +02:00
ad hoc
b94eabe48c
apply clippy fixes
2022-05-04 11:33:43 +02:00
ad hoc
34f75d9792
settings analytics return null when no set
2022-04-29 16:38:21 +02:00
Guillaume Mourier
3d0a4a3d18
fix(http): fix event name for typo tolerance settings update
2022-04-27 14:49:21 +02:00
ad hoc
3d10af0333
feat(http): add analytics on typo tolerance setting
2022-04-26 18:29:32 +02:00
bors[bot]
b1333ab5b0
Merge #2320
...
2320: chore(http, lib): rename typo to typo_tolerance r=irevoire a=MarinPostma
fix #2319
Co-authored-by: ad hoc <postma.marin@protonmail.com>
2022-04-14 09:50:39 +00:00
ad hoc
276dc6043a
chore(http, lib): rename typo to typo_tolerance
2022-04-14 10:42:06 +02:00
Tamo
2ee210483f
fix(search): remove the back and forth between the IndexMap and the serde_json::Map
...
This is ok because we're using the preserve_order feature in serde_json which is already internally using an IndexMap.
2022-04-12 16:12:52 +02:00
bors[bot]
013fe4cbc9
Merge #2297
...
2297: Feat(Search): Enhance formating search results r=ManyTheFish a=ManyTheFish
Add new settings and change crop_len behavior to count words instead of characters.
- [x] `highlightPreTag`
- [x] `highlightPostTag`
- [x] `cropMarker`
- [x] `cropLength` count word instead of chars
- [x] `cropLength` 0 is now considered as no `cropLength`
- [ ] ~smart crop finding the best matches interval~ (postponed)
Partially fixes #2214 . (no smart crop)
Co-authored-by: ManyTheFish <many@meilisearch.com>
2022-04-07 13:29:56 +00:00
ManyTheFish
dc2cc1ee89
Feat(Search): Enhance formating search results
2022-04-07 15:04:08 +02:00
ad hoc
981fba5b44
feat(all): introduce disable typos
2022-04-06 15:47:48 +02:00
ad hoc
b57c59baa4
sequential extractor
2022-03-04 20:43:12 +01:00
ad hoc
d6400aef27
remove async from meilsearch-authentication
2022-03-02 18:22:34 +01:00
ManyTheFish
c2b58720d1
Fix(dumps): Explicitly define serde for time
2022-03-02 11:37:48 +01:00
ad hoc
4fbb83a34d
bug(snapshot): Correctly open environments in snapshots
2022-02-28 12:37:30 +01:00
Irevoire
05c8d81e65
chore: get rid of chrono in favor of time
...
Chrono has been unmaintened for a few month now and there is a CVE on it.
make clippy happy
bump milli
2022-02-16 18:14:29 +01:00