[v1.8] New `searchCutoffMs` index settings
curquiza opened this issue · comments
Related to meilisearch/integration-guides#299
Explanation of the feature
Introduction of the new index setting named searchCutoffMs
. Available via /indexes/:uid:/settings
(GET
, PATCH
, DELETE
) and /indexes/:uid:/settings/search-cutoff-ms
(GET
, PUT
, DELETE
)
Default value is null
. Expects an int as value.
More info about the usage of this new feature: https://meilisearch.notion.site/Search-cutoff-usage-fb5e9a07a7624965a541d0a6f8eb37bc
TODO
- Ensure the library accepts the new field
searchCutoffMs
when calling the methods related to the/indexes/:uid:/settings (GET, PATCH, DELETE)
which aregetSettings()
,updateSettings()
andresetSettings
- Add new methods corresponding to the new routes
-
GET /indexes/:uid:/settings/search-cutoff-ms
: creategetSearchCutoffMs()
-
PUT /indexes/:uid:/settings/search-cutoff-ms
: createupdateSearchCutoffMs()
-
DELETE /indexes/:uid:/settings/search-cutoff-ms
: createresetSearchCutoffMs()
- Add tests for each of these additions
bump-meilisearch-v1.8.0
and NOT main
. Please do 1 PR for all of these changes, and not several.
Hey @curquiza what do you think about keeping only: ['7.4', '8.3']
?
@brunoocasali what do you mean? In the tests, so drop some PHP version?
Not sure this is the topic of this issue, but we could open another one so that the community can fix it
Closed by #636