Skip to content

Commit

Permalink
Merge #407
Browse files Browse the repository at this point in the history
407: Added two new code-sample requested r=brunoocasali a=Braunson

# Pull Request

## Related issue
Fixes #403

## What does this PR do?
- Adds two new code samples requested

#hacktoberfest


Co-authored-by: Braunson Yager <[email protected]>
  • Loading branch information
bors[bot] and Braunson authored Oct 21, 2022
2 parents 087f9c3 + f9c4328 commit e91fa2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit e91fa2a

Please sign in to comment.