33# the documentation on build
44# You can read more on https://github.com/meilisearch/documentation/tree/master/.vuepress/code-samples
55---
6+ filtering_guide_nested_1 : |-
7+ with data: { "index": "movies", "q": "thriller", "filter": "rating.users >= 90" }
8+
9+ sorting_guide_sort_nested_1 : |-
10+ with data: { "index": "books", "q": "science fiction", "sort": ["rating.users:asc"] }
11+
612get_one_index_1 : |-
713 client.get_index('movies')
814list_all_indexes_1 : |-
@@ -231,16 +237,16 @@ get_health_1: |-
231237 client.health()
232238get_version_1 : |-
233239 client.get_version()
234- distinct_attribute_guide_1 : |-
240+ >>>>>>>>>>>>>>>> UPDATE_ME distinct_attribute_guide_1 (use distinct attribute route) : |-
235241 client.index('jackets').update_settings({'distinctAttribute' : ' product_id' })
236- field_properties_guide_searchable_1 : |-
242+ >>>>>>>>>>>>>>>> UPDATE_ME field_properties_guide_searchable_1 (use searchable attribute route) : |-
237243 client.index('movies').update_settings({
238244 ' searchableAttributes ' : [
239245 ' title' ,
240246 ' overview' ,
241247 ' genres'
242248 ]})
243- field_properties_guide_displayed_1 : |-
249+ >>>>>>>>>>>>>>>> UPDATE_ME field_properties_guide_displayed_1 (use displayed attribute route) : |-
244250 client.index('movies').update_settings({
245251 ' displayedAttributes ' : [
246252 ' title' ,
@@ -310,22 +316,22 @@ search_parameter_guide_hitsperpage_1: |-
310316 client.index('movies').search('', {'hitsPerPage': 15})
311317search_parameter_guide_page_1 : |-
312318 client.index('movies').search('', {'page': 2})
313- settings_guide_synonyms_1 : |-
319+ >>>>>>>>>>> REMOVE_ME settings_guide_synonyms_1: |-
314320 client.index('tops').update_settings({
315321 ' synonyms ' : {
316322 sweater : ['jumper'],
317323 jumper : ['sweater']
318324 },
319325 })
320- settings_guide_stop_words_1 : |-
326+ >>>>>>>>>>> REMOVE_ME settings_guide_stop_words_1: |-
321327 client.index('movies').update_settings({
322328 ' stopWords ' : [
323329 ' the' ,
324330 ' a' ,
325331 ' an'
326332 ],
327333 })
328- settings_guide_ranking_rules_1 : |-
334+ >>>>>>>>>>> REMOVE_ME settings_guide_ranking_rules_1: |-
329335 client.index('movies').update_settings({
330336 ' rankingRules ' : [
331337 ' words' ,
@@ -338,19 +344,19 @@ settings_guide_ranking_rules_1: |-
338344 ' rank:desc'
339345 ]
340346 })
341- settings_guide_distinct_1 : |-
347+ >>>>>>>>>>> REMOVE_ME settings_guide_distinct_1: |-
342348 client.index('jackets').update_settings({
343349 ' distinctAttribute ' : ' product_id'
344350 })
345- settings_guide_searchable_1 : |-
351+ >>>>>>>>>>> REMOVE_ME settings_guide_searchable_1: |-
346352 client.index('movies').update_settings({
347353 ' searchableAttributes ' : [
348354 ' title' ,
349355 ' overview' ,
350356 ' genres'
351357 ]
352358 })
353- settings_guide_displayed_1 : |-
359+ >>>>>>>>>>> REMOVE_ME settings_guide_displayed_1: |-
354360 client.index('movies').update_settings({
355361 ' displayedAttributes ' : [
356362 ' title' ,
@@ -359,14 +365,14 @@ settings_guide_displayed_1: |-
359365 ' release_date'
360366 ]
361367 })
362- settings_guide_sortable_1 : |-
368+ >>>>>>>>>>> REMOVE_ME settings_guide_sortable_1: |-
363369 client.index('books').update_settings({
364370 ' sortableAttributes ' : [
365371 ' price' ,
366372 ' author'
367373 ]
368374 })
369- settings_guide_typo_tolerance_1 : |-
375+ >>>>>>>>>>> REMOVE_ME settings_guide_typo_tolerance_1: |-
370376 client.index('movies').update_typo_tolerance({
371377 ' minWordSizeForTypos ' : {
372378 ' twoTypos ' : 12
@@ -657,13 +663,13 @@ update_faceting_settings_1: |-
657663 }
658664 })
659665reset_faceting_settings_1 : |-
660- settings_guide_faceting_1 : |-
666+ >>>>>>>>>>> REMOVE_ME settings_guide_faceting_1: |-
661667 client.index('movies').update_settings({
662668 ' faceting ' : {
663669 ' maxValuesPerFacet ' : 5
664670 }
665671 })
666- settings_guide_pagination_1 : |-
672+ >>>>>>>>>>> REMOVE_ME settings_guide_pagination_1: |-
667673 client.index('movies').update_settings({
668674 ' pagination ' : {
669675 ' maxTotalHits ' : 50
0 commit comments