Skip to content

Commit c62aecc

Browse files
authored
docs: add parameter samples in v0.29 release
An attempt to solve issue #1364 where, 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.
1 parent b919e8b commit c62aecc

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)