meilisearch / meilisearch-dart

The Meilisearch API client written for Dart

Home Page:https://meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[v1.4] Support user-dictionary loading

curquiza opened this issue · comments

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

can i work on this..

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

thanks for your contribution !