diff --git a/.code-samples.meilisearch.yaml b/.code-samples.meilisearch.yaml index 82ee4883..38350a08 100644 --- a/.code-samples.meilisearch.yaml +++ b/.code-samples.meilisearch.yaml @@ -280,6 +280,10 @@ search_parameter_guide_highlight_tag_1: |- ]); search_parameter_guide_show_matches_position_1: |- $client->index('movies')->search('winter feast', ['attributesToHighlight' => ['overview'], 'showMatchesPosition' => true]); +search_parameter_guide_matching_strategy_1: |- + $client->index('movies')->search('big fat liar', [ 'matchingStrategy' => 'last' ]); +search_parameter_guide_matching_strategy_2: |- + $client->index('movies')->search('big fat liar', [ 'matchingStrategy' => 'all' ]); settings_guide_synonyms_1: |- $client->index('tops')->updateSettings([ 'synonyms' => [