Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v1.8] Support searchCutoffMs setting #581

Closed
8 tasks
curquiza opened this issue May 7, 2024 · 0 comments · Fixed by #588
Closed
8 tasks

[v1.8] Support searchCutoffMs setting #581

curquiza opened this issue May 7, 2024 · 0 comments · Fixed by #588
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@curquiza
Copy link
Member

curquiza commented May 7, 2024

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.

  • 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-ms
client.index('indexName').updateSearchCutoffMs(150);  // calls PUT /indexes/:uid/settings/search-cutoff-ms
client.index('indexName').resetSearchCutoffMs(); // calls DELETE /indexes/:uid/settings/search-cutoff-ms
@curquiza curquiza added enhancement New feature or request good first issue Good for newcomers labels May 7, 2024
@meili-bors meili-bors bot closed this as completed in 9443600 Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant