meilisearch-dart icon indicating copy to clipboard operation
meilisearch-dart copied to clipboard

[v1.4] Support user-dictionary loading

Open curquiza opened this issue 2 years ago • 2 comments
trafficstars

Following this central issue

  • [ ] Add a new setting: dictionary with get, update, and reset methods associated. Here are the JS equivalents in meilisearch-js you should create for this repository:
client.index('indexName').getDictionary(); // calls GET /indexes/:uid/settings/dictionary
client.index('indexName').updateDictionary(['|', '/', '&sep']);  // calls PUT /indexes/:uid/settings/dictionary
client.index('indexName').resetDictionary(); // calls DELETE /indexes/:uid/settings/dictionary
  • [ ] The methods associated with the /settings API route (to get, reset and update the settings globally) must be able to receive in the payload the new configuration dictionary.
  • [ ] ⚠️ Add integration tests ⚠️
  • [ ] Update the .code-samples.meilisearch.yaml
    • [ ] Add get_dictionary_1 key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/2060089a5c10bcd0beb28633062f90cf0b279f7f/.code-samples.meilisearch.yaml#L1133
    • [ ] Add update_dictionary_1 key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/2060089a5c10bcd0beb28633062f90cf0b279f7f/.code-samples.meilisearch.yaml#L1136
    • [ ] Add reset_dictionary_1 key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/2060089a5c10bcd0beb28633062f90cf0b279f7f/.code-samples.meilisearch.yaml#L1144

curquiza avatar Sep 27 '23 13:09 curquiza

can i work on this..

notpritam avatar Oct 02 '23 21:10 notpritam

@notpritam sure! go ahead and I will review your PR.

thanks for your contribution !

ahmednfwela avatar Oct 02 '23 21:10 ahmednfwela