Commit 59971fc
Merge #711
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 <[email protected]>1 file changed
+59
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
193 | 199 | | |
194 | 200 | | |
195 | 201 | | |
| |||
206 | 212 | | |
207 | 213 | | |
208 | 214 | | |
| 215 | + | |
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
| |||
277 | 284 | | |
278 | 285 | | |
279 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
280 | 312 | | |
281 | 313 | | |
282 | 314 | | |
| |||
538 | 570 | | |
539 | 571 | | |
540 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
541 | 600 | | |
542 | 601 | | |
543 | 602 | | |
| |||
0 commit comments