-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
529: Add feature: dictionary settings r=curquiza a=hasan-raja # Pull Request ## Related issue Fixes #527 ## What does this PR do? - Added the `dictionary` setting to the `Settings` struct, providing users with a flexible way to manage their search dictionary. - Implemented three new methods for interacting with the `dictionary` setting: - `get_dictionary`: Retrieves the current dictionary configuration. - `set_dictionary`: Updates the dictionary with a new configuration. - `reset_dictionary`: Resets the dictionary configuration to default values. - Created comprehensive integration tests to ensure the correctness and robustness of these new methods. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Added integration tests for the new methods. - [x] Verified the correctness of existing unit tests. - [x] Ensured that the codebase adheres to the project's coding style guidelines. - [x] Updated the `.code-samples.meilisearch.yaml` file to incorporate new examples for the `get_dictionary`, `set_dictionary`, and `reset_dictionary` methods. Please review and provide feedback on the changes introduced in this pull request. Co-authored-by: hasan-raja <hasanraja2199@gmail.com> Co-authored-by: Clémentine U. - curqui <clementine@meilisearch.com>
- Loading branch information
Showing
3 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters