meilisearch-python
meilisearch-python copied to clipboard
Add support for export api
Pull Request
Added support for the Export API as described in the official Meilisearch docs.
- Add the new methods to interact with the Meilisearch API
- Add new tests cases
- Write an example code in .code-samples.meilisearch.yaml under the export_post_1 key
Related issue
Fixes # 1129
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!
Summary by CodeRabbit
-
New Features
- Added cross-instance data export between Meilisearch servers with optional index filtering and configurable payload sizing.
-
Tests
- Added end-to-end tests validating export behavior across two Meilisearch servers, including full and filtered exports and result verification.
-
Chores
- Added support for a secondary local Meilisearch instance and updated test setup/teardown to operate across both instances.
✏️ Tip: You can customize this high-level summary in your review settings.