@@ -332,6 +332,8 @@ documents_guide_add_movie_1: |-
332
332
'movie_id': '123sq178',
333
333
'title': 'Amélie Poulain'
334
334
}])
335
+ getting_started_check_task_status_md : |-
336
+ client.index('movies').get_task(0)
335
337
search_guide_1 : |-
336
338
client.index('movies').search('shifu', {
337
339
'limit': 5,
@@ -364,6 +366,71 @@ getting_started_search_md: |-
364
366
```
365
367
366
368
[About this SDK](https://github.com/meilisearch/meilisearch-python/)
369
+ getting_started_add_meteorites_md : |-
370
+ import json
371
+
372
+ json_file = open('meteorites.json')
373
+ movies = json.load(json_file)
374
+ client.index('meteorites').add_documents(meteorites)
375
+ getting_started_update_ranking_rules_md : |-
376
+ client.index('movies').update_ranking_rules([
377
+ 'exactness',
378
+ 'words',
379
+ 'typo',
380
+ 'proximity',
381
+ 'attribute',
382
+ 'sort',
383
+ 'release_date:asc',
384
+ 'rank:desc'
385
+ ])
386
+ getting_started_update_displayed_attributes_md : |-
387
+ client.index('movies').update_displayed_attributes([
388
+ 'title',
389
+ 'overview',
390
+ 'poster'
391
+ ])
392
+ getting_started_update_searchable_attributes_md : |-
393
+ client.index('movies').update_searchable_attributes([
394
+ 'title'
395
+ ])
396
+ getting_started_update_stop_words_md : |-
397
+ client.index('movies').update_stop_words(['the'])
398
+ getting_started_synonyms_md : |-
399
+ client.index('movies').update_synonyms({
400
+ "winnie": ["piglet"],
401
+ "piglet": ["winnie"]
402
+ })
403
+ getting_started_filtering_md : |-
404
+ client.index('meteorites').search('', {
405
+ 'filter': 'mass < 200'
406
+ })
407
+ getting_started_geoRadius_md : |-
408
+ client.index('meteorites').search('', {
409
+ 'filter': '_geoRadius(46.9480, 7.4474, 210000)'
410
+ })
411
+ getting_started_geoPoint_md : |-
412
+ client.index('meteorites').search('', {
413
+ 'sort': ['_geoPoint(48.8583701,2.2922926):asc']
414
+ })
415
+ getting_started_sorting_md : |-
416
+ client.index('meteorites').search('', {
417
+ 'filter': 'mass < 200',
418
+ 'sort': ['mass:asc']
419
+ })
420
+ getting_started_configure_settings : |-
421
+ client.index('movies').meteorites({
422
+ 'filterableAttributes': [
423
+ 'mass',
424
+ '_geo'
425
+ ],
426
+ 'sortableAttributes': [
427
+ 'mass',
428
+ '_geo'
429
+ ]
430
+ })
431
+ getting_started_communicating_with_a_protected_instance : |-
432
+ client = Client('http://127.0.0.1:7700', 'apiKey')
433
+ client.index('movies').search()
367
434
faceted_search_update_settings_1 : |-
368
435
client.index('movies').update_filterable_attributes([
369
436
'director',
0 commit comments