You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
709: Add sharding support for Network methods r=curquiza a=kumarUjjawal
# Pull Request
This PR aims to bring the SDK close to the Mealisearch [Meilisearch 1.19](https://github.com/meilisearch/meilisearch/releases/tag/v1.19.0) features and add support for sharding .
## Related issue
Fixes#700
## What does this PR do?
As per the tasks described in the origina issue #700
- Update the Network methods to accept sending the sharding parameter
- Update the Network methods to include `remotes.[remoteName].writeApiKey` in the responses
- Update the Tasks methods to include remotes objects in the tasks reponse index update method to allow renaming
- Add new test cases to test implementation
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Manage network configuration from the client: view/update network state, toggle sharding, and set the local remote.
* Public Network module exposing remotes, self identity, and sharding configuration.
* Multi-search federation options can target a specific remote.
* **Improvements**
* Task details (enqueued, processing, succeeded) now include remotes information when available.
* **Tests**
* Added tests for network updates and task deserialization with remotes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Kumar Ujjawal <ujjawalpathak6@gmail.com>
0 commit comments