Skip to content

Commit fa55d4f

Browse files
Merge #864
864: Fix facet_search parameter order in documentation r=sanders41 a=ellnix # Pull Request ## Related issue Fixes #863 ## 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? Co-authored-by: ellnix <103502144+ellnix@users.noreply.github.com>
2 parents e3b0684 + f0c2cfe commit fa55d4f

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
@@ -676,10 +676,10 @@ date_guide_sort_1: |-
676676
'sort': ['release_timestamp:desc']
677677
})
678678
facet_search_1: |-
679-
client.index('books').facet_search('fiction', 'genres', {
679+
client.index('books').facet_search('genres', 'fiction', {
680680
'filter': 'rating > 3'
681681
})
682682
facet_search_2: |-
683683
client.index('books').update_faceting_settings({ 'sortFacetValuesBy': { 'genres': 'count' } })
684684
facet_search_3: |-
685-
client.index('books').facet_search('c', 'genres')
685+
client.index('books').facet_search('genres', 'c')

0 commit comments

Comments
 (0)