Skip to content

Commit

Permalink
Merge #617
Browse files Browse the repository at this point in the history
617: Changes related to the next Meilisearch release (v1.7.0) r=curquiza a=meili-bot

Related to this issue: meilisearch/integration-guides#296

This PR:
- gathers the changes related to the next Meilisearch release (v1.7.0) so that this package is ready when the official release is out.
- should pass the tests against the [latest pre-release of Meilisearch](https://github.com/meilisearch/meilisearch/releases).
- might eventually contain test failures until the Meilisearch v1.7.0 is out.

⚠️ This PR should NOT be merged until the next release of Meilisearch (v1.7.0) is out.

_This PR is auto-generated for the [pre-release week](https://github.com/meilisearch/integration-guides/blob/main/resources/pre-release-week.md) purpose._


Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Co-authored-by: curquiza <clementine@meilisearch.com>
  • Loading branch information
3 people authored Mar 11, 2024
2 parents ee96533 + 0ba815c commit a98b934
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ search_parameter_guide_show_ranking_score_1: |-
$client->index('movies')->search('dragon', [
'showRankingScore' => true
]);
search_parameter_guide_show_ranking_score_details_1: |-
$client->index('movies')->search('dragon', [
'showRankingScoreDetails' => true
]);
search_parameter_guide_attributes_to_search_on_1: |-
$client->index('movies')->search('adventure', [
'attributesToSearchOn' => ['overview']
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
test_php_7_guzzle_6:
runs-on: ubuntu-latest
name: integration-tests (PHP 7.4 & Guzzle 6)
name: integration-tests-against-rc (PHP 7.4 & Guzzle 6)
steps:
- uses: actions/checkout@v4
- name: Install PHP
Expand Down
1 change: 0 additions & 1 deletion tests/Endpoints/SearchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@ public function testVectorSearch(): void
public function testShowRankingScoreDetails(): void
{
$http = new Client($this->host, getenv('MEILISEARCH_API_KEY'));
$http->patch('/experimental-features', ['scoreDetails' => true]);

$response = $this->index->search('the', ['showRankingScoreDetails' => true]);
$hit = $response->getHits()[0];
Expand Down

0 comments on commit a98b934

Please sign in to comment.