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 #443

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

[v1.8] Support searchCutoffMs setting #443

curquiza opened this issue May 7, 2024 · 0 comments · Fixed by #459
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 bot added a commit that referenced this issue Jan 7, 2025
459: Changes for v1.5, v1.6, v1.7 and v1.8 r=curquiza a=Sherlouk

Some quite repetitive changes here, so just cranking them out in one PR. **No breaking changes**. Integration tests all in tact and updated. Verified locally.

Closes #433
Closes #436
Closes #439
Closes #443

Co-authored-by: James Sherlock <james.sherlock@sky.uk>
Co-authored-by: James Sherlock <15193942+Sherlouk@users.noreply.github.com>
meili-bors bot added a commit that referenced this issue Jan 7, 2025
459: Changes for v1.5, v1.6, v1.7 and v1.8 r=curquiza a=Sherlouk

Some quite repetitive changes here, so just cranking them out in one PR. **No breaking changes**. Integration tests all in tact and updated. Verified locally.

Closes #433
Closes #436
Closes #439
Closes #443

Co-authored-by: James Sherlock <james.sherlock@sky.uk>
Co-authored-by: James Sherlock <15193942+Sherlouk@users.noreply.github.com>
@meili-bors meili-bors bot closed this as completed in dc10d4d Jan 7, 2025
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