@@ -356,13 +356,13 @@ getting_started_search_md: |-
356
356
```
357
357
358
358
[About this SDK](https://github.com/meilisearch/meilisearch-python/)
359
- getting_started_add_meteorites_md : |-
359
+ getting_started_add_meteorites : |-
360
360
import json
361
361
362
362
json_file = open('meteorites.json')
363
363
movies = json.load(json_file)
364
364
client.index('meteorites').add_documents(meteorites)
365
- getting_started_update_ranking_rules_md : |-
365
+ getting_started_update_rankingRules : |-
366
366
client.index('movies').update_ranking_rules([
367
367
'exactness',
368
368
'words',
@@ -373,36 +373,36 @@ getting_started_update_ranking_rules_md: |-
373
373
'release_date:asc',
374
374
'rank:desc'
375
375
])
376
- getting_started_update_displayed_attributes_md : |-
376
+ getting_started_update_displayedAttributes : |-
377
377
client.index('movies').update_displayed_attributes([
378
378
'title',
379
379
'overview',
380
380
'poster'
381
381
])
382
- getting_started_update_searchable_attributes_md : |-
382
+ getting_started_update_searchableAttributes : |-
383
383
client.index('movies').update_searchable_attributes([
384
384
'title'
385
385
])
386
- getting_started_update_stop_words_md : |-
386
+ getting_started_update_stop_words : |-
387
387
client.index('movies').update_stop_words(['the'])
388
- getting_started_synonyms_md : |-
388
+ getting_started_synonyms : |-
389
389
client.index('movies').update_synonyms({
390
390
"winnie": ["piglet"],
391
391
"piglet": ["winnie"]
392
392
})
393
- getting_started_filtering_md : |-
393
+ getting_started_filtering : |-
394
394
client.index('meteorites').search('', {
395
395
'filter': 'mass < 200'
396
396
})
397
- getting_started_geoRadius_md : |-
397
+ getting_started_geoRadius : |-
398
398
client.index('meteorites').search('', {
399
399
'filter': '_geoRadius(46.9480, 7.4474, 210000)'
400
400
})
401
- getting_started_geoPoint_md : |-
401
+ getting_started_geoPoint : |-
402
402
client.index('meteorites').search('', {
403
403
'sort': ['_geoPoint(48.8583701,2.2922926):asc']
404
404
})
405
- getting_started_sorting_md : |-
405
+ getting_started_sorting : |-
406
406
client.index('meteorites').search('', {
407
407
'filter': 'mass < 200',
408
408
'sort': ['mass:asc']
@@ -476,23 +476,23 @@ geosearch_guide_filter_settings_1: |-
476
476
])
477
477
geosearch_guide_filter_usage_1 : |-
478
478
client.index('restaurants').search('', {
479
- 'filter': '_geoRadius(45.4628328 , 9.1076931 , 2000)'
479
+ 'filter': '_geoRadius(45.472735 , 9.184019 , 2000)'
480
480
})
481
481
geosearch_guide_filter_usage_2 : |-
482
482
client.index('restaurants').search('', {
483
- 'filter': '_geoRadius(45.4628328 , 9.1076931 , 2000) AND type = pizza'
483
+ 'filter': '_geoRadius(45.472735 , 9.184019 , 2000) AND type = pizza'
484
484
})
485
485
geosearch_guide_sort_settings_1 : |-
486
486
client.index('restaurants').update_sortable_attributes([
487
487
'_geo'
488
488
])
489
489
geosearch_guide_sort_usage_1 : |-
490
490
client.index('restaurants').search('', {
491
- 'sort': ['_geoPoint(48.8583701 ,2.2922926 ):asc']
491
+ 'sort': ['_geoPoint(48.8561446 ,2.2978204 ):asc']
492
492
})
493
493
geosearch_guide_sort_usage_2 : |-
494
494
client.index('restaurants').search('', {
495
- 'sort': ['_geoPoint(48.8583701 ,2.2922926 ):asc', 'rating:desc']
495
+ 'sort': ['_geoPoint(48.8561446 ,2.2978204 ):asc', 'rating:desc']
496
496
})
497
497
document_guide_create_index_primary_key : |-
498
498
client.create_index('movies', {'primaryKey': 'reference_number'})
0 commit comments