@@ -437,11 +437,11 @@ document_guide_add_document_primary_key: |-
437
437
438
438
let task: Task = client.index("movies").add_documents(&[
439
439
Movie {
440
- " reference_number" : "287947".to_string(),
441
- " title" : "Shazam".to_string(),
442
- " poster" : "https://image.tmdb.org/t/p/w1280/xnopI5Xtky18MPhK40cZAGAOVeV.jpg".to_string(),
443
- " overview" : "A boy is given the ability to become an adult superhero in times of need with a single magic word.".to_string(),
444
- " release_date" : "2019-03-23".to_string()
440
+ reference_number: "287947".to_string(),
441
+ title: "Shazam".to_string(),
442
+ poster: "https://image.tmdb.org/t/p/w1280/xnopI5Xtky18MPhK40cZAGAOVeV.jpg".to_string(),
443
+ overview: "A boy is given the ability to become an adult superhero in times of need with a single magic word.".to_string(),
444
+ release_date: "2019-03-23".to_string()
445
445
}
446
446
], Some("reference_number")).await.unwrap();
447
447
getting_started_add_documents_md : |-
@@ -808,12 +808,12 @@ landing_getting_started_1: |-
808
808
}
809
809
810
810
client.index("movies").add_documents(&[
811
- Movie { "id" : "1".to_string(), " title" : "Carol".to_string() },
812
- Movie { "id" : "2".to_string(), " title" : "Wonder Woman".to_string() },
813
- Movie { "id" : "3".to_string(), " title" : "Life of Pi".to_string() },
814
- Movie { "id" : "4".to_string(), " title" : "Mad Max: Fury Road".to_string() },
815
- Movie { "id" : "5".to_string(), " title" : "Moana".to_string() },
816
- Movie { "id" : "6".to_string(), " title" : "Philadelphia".to_string() }
811
+ Movie { id : "1".to_string(), title: "Carol".to_string() },
812
+ Movie { id : "2".to_string(), title: "Wonder Woman".to_string() },
813
+ Movie { id : "3".to_string(), title: "Life of Pi".to_string() },
814
+ Movie { id : "4".to_string(), title: "Mad Max: Fury Road".to_string() },
815
+ Movie { id : "5".to_string(), title: "Moana".to_string() },
816
+ Movie { id : "6".to_string(), title: "Philadelphia".to_string() }
817
817
], Some("reference_number")).await.unwrap();
818
818
tenant_token_guide_generate_sdk_1 : |-
819
819
let api_key = "B5KdX2MY2jV6EXfUs6scSfmC...";
0 commit comments