-
Couldn't load subscription status.
- Fork 102
Description
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Related to:
- parent issue: Changes regarding Meilisearch v0.28.0 integration-guides#205
- engine issue: Settings API - Customize the hard limits for
paginationandfacetingspecifications#157, Add settings to customize the maximum number of reachable documents during the search meilisearch#2495
Add a pagination index settings resource to manage customization of the maximum number of reachable documents during the search at the index level.
- Expose
paginationobject on/indexes/:index_uid/settingsendpoints. - Add
GET/PATCH/DELETE-/indexes/:index_uid/settings/paginationendpoints.
The pagination object definition is made of the following properties:
maxTotalHitstype (int)
More information about what each field does could be checked in the spec.
Check the other customization methods for reference like: synonyms, searchableAttributes, filterableAttributes.
TODO:
- Add the new methods to customize
pagination- GET
/indexes/:index_uid/settings/pagination - PATCH
/indexes/:index_uid/settings/pagination - DELETE
/indexes/:index_uid/settings/pagination
- GET
- Add tests