Skip to content

Commit ffa63f0

Browse files
bors[bot]Leigh-Olaalallema
authored
Merge #579
579: added 2 code samples r=alallema a=Leigh-Ola # Pull Request ## Related issue Fixes #568 ## What does this PR do? - It adds two new code-samples to .code-samples.meilisearch.yaml, as requested by the Meilisearch v0.29 release ## PR checklist Please check if your PR fulfills the following requirements: - [✔] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? It fixes issue #568 - [✔] Have you read the contributing guidelines? Yes - [✔] Have you made sure that the title is accurate and descriptive of the changes? Yes Thank you so much for contributing to Meilisearch! Co-authored-by: Leigh-Ola <[email protected]> Co-authored-by: Leigh Ola <[email protected]> Co-authored-by: Amélie <[email protected]>
2 parents ccf7e19 + eafd6d9 commit ffa63f0

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
@@ -278,6 +278,14 @@ search_parameter_guide_crop_marker_1: |-
278278
'attributesToCrop': ['overview'],
279279
'cropMarker': '[…]'
280280
})
281+
search_parameter_guide_matching_strategy_1: |-
282+
client.index('movies').search('big fat liar', {
283+
'matchingStrategy': 'last'
284+
})
285+
search_parameter_guide_matching_strategy_2: |-
286+
client.index('movies').search('big fat liar', {
287+
'matchingStrategy': 'all'
288+
})
281289
search_parameter_guide_highlight_1: |-
282290
client.index('movies').search('winter feast', {
283291
'attributesToHighlight': ['overview']

0 commit comments

Comments
 (0)