Skip to content

Commit 407f800

Browse files
authored
Update search code-sample for v0.28.0 (#1288)
1 parent 7afebfa commit 407f800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ search_parameter_guide_highlight_tag_1: |-
276276
highlightPreTag: '<span class="highlight">',
277277
highlightPostTag: '</span>'
278278
})
279-
PLEASE_UPDATE_ME>>>>>>>>>>>>>search_parameter_guide_matches_1: |-
279+
search_parameter_guide_show_matches_position_1: |-
280280
client.index('movies').search('winter feast', {
281281
showMatchesPosition: true
282282
})
@@ -499,7 +499,7 @@ faceted_search_filter_1: |-
499499
.search('thriller', {
500500
filter: [['genres = Horror', 'genres = Mystery'], 'director = "Jordan Peele"']
501501
})
502-
PLEASE_UPDATE_ME>>>>>>>>>>>>>faceted_search_facets_distribution_1: |-
502+
faceted_search_facets_1: |-
503503
client.index('movies')
504504
.search('Batman', {
505505
facets: ['genres']

0 commit comments

Comments
 (0)