diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 695e1154..25ba3cbd 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -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'] diff --git a/.github/workflows/pre-release-tests.yml b/.github/workflows/pre-release-tests.yml index 1e3a5aac..81aaa20c 100644 --- a/.github/workflows/pre-release-tests.yml +++ b/.github/workflows/pre-release-tests.yml @@ -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 diff --git a/tests/Endpoints/SearchTest.php b/tests/Endpoints/SearchTest.php index 04ece4bd..db7889df 100644 --- a/tests/Endpoints/SearchTest.php +++ b/tests/Endpoints/SearchTest.php @@ -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];