mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 21:20:24 +01:00
cf2d8de48a
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>