@@ -75,12 +75,12 @@ client = meilisearch.Client('http://127.0.0.1:7700', 'masterKey')
75
75
index = client.index(' movies' )
76
76
77
77
documents = [
78
- { id : 1 , title: ' Carol' , genres: [' Romance' , ' Drama' ] },
79
- { id : 2 , title: ' Wonder Woman' , genres: [' Action' , ' Adventure' ] },
80
- { id : 3 , title: ' Life of Pi' , genres: [' Adventure' , ' Drama' ] },
81
- { id : 4 , title: ' Mad Max: Fury Road' , genres: [' Adventure' , ' Science Fiction' ] },
82
- { id : 5 , title: ' Moana' , genres: [' Fantasy' , ' Action' ]},
83
- { id : 6 , title: ' Philadelphia' , genres: [' Drama' ] },
78
+ { ' id ' : 1 , ' title' : ' Carol' , ' genres' : [' Romance' , ' Drama' ] },
79
+ { ' id ' : 2 , ' title' : ' Wonder Woman' , ' genres' : [' Action' , ' Adventure' ] },
80
+ { ' id ' : 3 , ' title' : ' Life of Pi' , ' genres' : [' Adventure' , ' Drama' ] },
81
+ { ' id ' : 4 , ' title' : ' Mad Max: Fury Road' , ' genres' : [' Adventure' , ' Science Fiction' ] },
82
+ { ' id ' : 5 , ' title' : ' Moana' , ' genres' : [' Fantasy' , ' Action' ]},
83
+ { ' id ' : 6 , ' title' : ' Philadelphia' , ' genres' : [' Drama' ] },
84
84
]
85
85
86
86
# If the index 'movies' does not exist, MeiliSearch creates it when you first add the documents.
0 commit comments