Skip to content

Commit d3db908

Browse files
meili-bors[bot]CursedRock17bidoubiwa
authored
Merge #1371
1371: docs: add parameter samples in v0.29 release r=bidoubiwa a=CursedRock17 # Pull Request ## Related issue Fixes: #1364 ## What does this PR do? If I understand, the request was to simply add two matching strategies to this file. Assuming it was this easy I suppose I did something wrong, but I would like to see if this is what the issuer meant. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Lucas Wendland <[email protected]> Co-authored-by: cvermand <[email protected]>
2 parents b986011 + 90cd968 commit d3db908

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.code-samples.meilisearch.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@ search_parameter_guide_show_matches_position_1: |-
281281
client.index('movies').search('winter feast', {
282282
showMatchesPosition: true
283283
})
284+
search_parameter_guide_matching_strategy_1: |-
285+
client.index('movies').search('big fat liar', {
286+
matchingStrategy: 'last'
287+
})
288+
search_parameter_guide_matching_strategy_2: |-
289+
client.index('movies').search('big fat liar', {
290+
matchingStrategy: 'all'
291+
})
284292
settings_guide_synonyms_1: |-
285293
client.index('tops').updateSettings({
286294
synonyms: {

0 commit comments

Comments
 (0)