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
Add the new settings: searchCutoffMs with get, update, and reset methods associated.
Here are the JS equivalents in meilisearch-js you should create for this repository:
client.index('indexName').getSearchCutoffMs();// calls GET /indexes/:uid/settings/search-cutoff-msclient.index('indexName').updateSearchCutoffMs(150);// calls PUT /indexes/:uid/settings/search-cutoff-msclient.index('indexName').resetSearchCutoffMs();// calls DELETE /indexes/:uid/settings/search-cutoff-ms
The methods associated with the /settings API route (to get, reset and update the settings globally) must be able to receive in the payload the new searchCutoffMs field
Following this central issue
This is related to a newly introduced feature in Meilisearch v1.8.0: the
searchCutoffMs
setting.Refer to docs for more information.
searchCutoffMs
withget
,update
, andreset
methods associated.Here are the JS equivalents in meilisearch-js you should create for this repository:
/settings
API route (to get, reset and update the settings globally) must be able to receive in the payload the newsearchCutoffMs
field.code-samples.meilisearch.yaml
get_search_cutoff_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/84fad8b88a9b50a6e79bccb7da159bcf78193e54/.code-samples.meilisearch.yaml#L1191update_search_cutoff_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/84fad8b88a9b50a6e79bccb7da159bcf78193e54/.code-samples.meilisearch.yaml#L1194reset_search_cutoff_1
key and “translate” the following curl example by using the newly added methods: https://github.com/meilisearch/documentation/blob/84fad8b88a9b50a6e79bccb7da159bcf78193e54/.code-samples.meilisearch.yaml#L1199update_settings_1
key and “translate” the following curl example by adding the new setting: https://github.com/meilisearch/documentation/blob/84fad8b88a9b50a6e79bccb7da159bcf78193e54/.code-samples.meilisearch.yaml#L128The text was updated successfully, but these errors were encountered: