meilisearch / meilisearch-rust

Rust wrapper for the Meilisearch API.
https://www.meilisearch.com
MIT License
361 stars 90 forks source link

[v1.4] Support user-dictionary loading #527

Closed curquiza closed 1 year ago

curquiza commented 1 year ago

Following this central issue

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
hasan-raja commented 1 year ago

Hi @curquiza ,

I've finished working on this issue and created a pull request for your review.

I appreciate your feedback and suggestions.