Skip to content

Commit 2fd098e

Browse files
committed
added 2 code samples
1 parent 1f31804 commit 2fd098e

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)