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
711: Add support for sorting on the documents API r=curquiza a=kumarUjjawal
# Pull Request
## Related issue
Fixes#699
## What does this PR do?
As per the requirements of the [Meilisearch 1.16](https://www.meilisearch.com/blog/meilisearch-1-16?utm_campaign=oss&utm_medium=integrations) the goal was to update the SDK to allow the sorting on the documents API.
## 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**
* Added sorting options to document retrieval, allowing results to be ordered by specified attributes when sorting is configured. Supports multi-attribute sorting. Default behavior remains unchanged if no sort is provided.
* **Tests**
* Added test coverage to verify correct ordering of documents when sorting is applied.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Kumar Ujjawal <ujjawalpathak6@gmail.com>
0 commit comments