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

Add searchCutoffMs method #636

Merged
merged 1 commit into from
May 2, 2024
Merged

Add searchCutoffMs method #636

merged 1 commit into from
May 2, 2024

Conversation

brunoocasali
Copy link
Member

@brunoocasali brunoocasali commented Apr 30, 2024

Pull Request

Related issue

Fixes #630

What does this PR do?

  • Add three new methods according to the issue updateSearchCutoffMs, getSearchCutoffMs and resetSearchCutoffMs.

Thank you so much for contributing to Meilisearch!

@brunoocasali brunoocasali changed the base branch from main to bump-meilisearch-v1.8.0 April 30, 2024 13:24
@brunoocasali brunoocasali requested a review from curquiza April 30, 2024 13:25
@brunoocasali brunoocasali force-pushed the add-cutoff branch 2 times, most recently from f023310 to e675cb0 Compare April 30, 2024 13:27
@curquiza curquiza merged commit 7481607 into bump-meilisearch-v1.8.0 May 2, 2024
11 checks passed
@curquiza curquiza deleted the add-cutoff branch May 2, 2024 14:06
meili-bors bot added a commit that referenced this pull request May 6, 2024
638: Update version for the next release (v1.8.0) r=curquiza a=meili-bot

_This PR is auto-generated._

The automated script updates the version of meilisearch-php to a new version: "v1.8.0"

---

This version introduces features released on Meilisearch v1.8.0 🎉
Check out the changelog of [Meilisearch v1.8.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.7.0) for more information on the changes.

## 🚀 Enhancements

* Add support for the new setting: `searchCutoffMs` (#636) `@/brunoocasali`
```php
$client->index('books')->getSearchCutoffMs();
$client->index('books')->updateSearchCutoffMs(150);
$client->index('books')->resetSearchCutoffMs();
```

* Add `getSemanticHitCount()` method to retrieve how many results were found because of the semantic query. #639 `@brunoocasali` 

## ⚙️ Maintenance/misc

* Add missing $ to documentation code sample (#633) `@/guimachiavelli`

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine <[email protected]>
meili-bors bot added a commit that referenced this pull request May 6, 2024
638: Update version for the next release (v1.8.0) r=curquiza a=meili-bot

_This PR is auto-generated._

The automated script updates the version of meilisearch-php to a new version: "v1.8.0"

---

This version introduces features released on Meilisearch v1.8.0 🎉
Check out the changelog of [Meilisearch v1.8.0](https://github.com/meilisearch/meilisearch/releases/tag/v1.7.0) for more information on the changes.

## 🚀 Enhancements

* Add support for the new setting: `searchCutoffMs` (#636) `@/brunoocasali`
```php
$client->index('books')->getSearchCutoffMs();
$client->index('books')->updateSearchCutoffMs(150);
$client->index('books')->resetSearchCutoffMs();
```

* Add `getSemanticHitCount()` method to retrieve how many results were found because of the semantic query. #639 `@brunoocasali` 

## ⚙️ Maintenance/misc

* Add missing $ to documentation code sample (#633) `@/guimachiavelli`

Co-authored-by: meili-bot <[email protected]>
Co-authored-by: Clémentine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants