Skip to content

Commit

Permalink
Merge #846
Browse files Browse the repository at this point in the history
846: Fill missing code samples r=brunoocasali a=curquiza



Co-authored-by: curquiza <[email protected]>
  • Loading branch information
meili-bors[bot] and curquiza authored Sep 13, 2023
2 parents c03a799 + 4616edd commit a4b6513
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -633,21 +633,23 @@ get_all_tasks_paginating_2: |-
'from': 8
})
get_pagination_settings_1: |-
client.index('books').get_pagination_settings()
update_pagination_settings_1: |-
client.index('books').update_settings({
'pagination': {
'maxTotalHits': 100
}
})
client.index('books').update_pagination_settings({'maxTotalHits': 100})
reset_pagination_settings_1: |-
client.index('books').reset_pagination_settings()
get_faceting_settings_1: |-
client.index('books').get_faceting_settings()
update_faceting_settings_1: |-
client.index('books').update_settings({
'faceting': {
'maxValuesPerFacet': 2
}
})
params = {
'maxValuesPerFacet': 2,
'sortFacetValuesBy': {
'*': 'count'
}
}
client.index('movies').update_faceting_settings(params)
reset_faceting_settings_1: |-
client.index('books').reset_faceting_settings()
synonyms_guide_1: |-
client.index('movies').update_synonyms({
'great': ['fantastic'],
Expand Down

0 comments on commit a4b6513

Please sign in to comment.